Black Friday sale! Get 25% off WPSP Pro! Discount automatically applied at checkout.

[Resolved] Different font size in featured and other posts

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Different font size in featured and other posts

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #557
    Nikola
    Participant

    Hi,

    Is it possible to set different font size for featured and other posts?

    Not only title font, but content text font also?

    Thanks.

    #561
    Tom
    Keymaster

    There will be font size options in pro soon, but not individually for the featured post/rest of the posts.

    This CSS should help though:

    Featured posts:

    .featured-column .wp-show-posts-entry-title {
        font-size: 25px;
    }
    
    .featured-column .wp-show-posts-entry-meta {
        font-size: 13px;
    }
    
    .featured-column .wp-show-posts-entry-summary,
    .featured-column .wp-show-posts-entry-content {
        font-size: 17px;
    }

    Regular posts:

    .wp-show-posts-entry-title {
        font-size: 25px;
    }
    
    .wp-show-posts-entry-meta {
        font-size: 13px;
    }
    
    .wp-show-posts-entry-summary,
    .wp-show-posts-entry-content {
        font-size: 17px;
    }

    Hope this helps 🙂

    #565
    Nikola
    Participant

    Hello Tom,

    It works perfect except for the regular posts title font.

    #568
    Tom
    Keymaster

    Interesting, can you link me to a page where it’s not working?

    #575
    Nikola
    Participant

    I sent you link and login details by email. 🙂

    #576
    Tom
    Keymaster

    Ah, since you’re using columns, we need to make the CSS a little more specific:

    .wp-show-posts-columns .wp-show-posts-entry-title {
        font-size: 30px;
    }
    #577
    Nikola
    Participant

    It works, but it affects to featured post title as well.

    #581
    Tom
    Keymaster

    Too many moving parts! 🙂

    .wp-show-posts-columns .featured-column .wp-show-posts-entry-title {
        font-size: 30px;
    }
    #586
    Nikola
    Participant

    That is it! 🙂 Thank you Tom!

    #587
    Tom
    Keymaster

    You’re welcome 🙂

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.