Change font size in featured post only

  • Author
    Posts
  • #1283063

    Hello,

    Im currently using the Twenty Eleven theme (www.foodiesagenda.com) and have changed the site to have the Showcase page as my front page. I’ve set up a featured post however I’m not happy that the font style & size is different to the rest of the blog. Do you know how I can just change this section?

    Thanks

    #1283238

    kardotim
    Member

    It’s the same font but the size is slightly different. You can use the CSS code below to edit the font size of the showcase section. Editing the CSS can be done at https://foodiesagenda.wordpress.com/wp-admin/customize.php -> CSS. You can adjust the ’12px’ part to a lower or higher number to increase or decrease the font size.

    article.intro .entry-content {
    color: #111;
    font-size: 12px;
    padding: 1.625em 0 0.625em;
    }

    Please let us know if you need any further assistance!

    #1283261

    Thanks for this.

    This may sound like a silly question, however if I have a CSS code in the box already, do I just add this below it? Also, I should have specified that I only want to change the font size in the ‘Featured Post’ section on the Showcase page. for some reason this is smaller than the rest. By adding the above will it make it all the same?

    Thanks

    #1283275

    kardotim
    Member

    I see! Sorry for the confusion.

    In that case you’ll need to add this code below the other codes in your CSS ‘box’.

    article.feature-image.small .entry-summary {
    color: #555;
    font-size: 100%;
    }
    #1283334

    Thankyou so much!!

    #1283337

    kardotim
    Member

    You’re welcome :)

    Feel free to contact us if you have any other questions.

The topic ‘Change font size in featured post only’ is closed to new replies.