Font size of post title on home page

  • Author
    Posts
  • #849621

    bodillabrun
    Member

    Hi! I’m trying to figure out if it’s possible to adjust the font size of the post title on the home page individually with CSS. When I upsize “headings” with Custom Fonts, they change on all pages. The post title/heading on the home page changes too but remains proportionally smaller still… Is there a solution to this? My theme is Twenty Eleven. Thanks :-)

    The blog I need help with is himmelveis.com.

    #849933

    bodillabrun
    Member

    I found the answer here: https://en.forums.wordpress.com/topic/customizing-css-on-individual-posts?replies=6 !
    I added this

    .wf-active .entry-title {
    font-size: 31px !important;
    }

    to the very bottom of my CSS and it worked perfectly :-)

    #849934

    timethief
    Member

    It’s so rewarding when we Volunteers see bloggers doing their own searching and solving their own issues. Good for you and best wishes with your CSS editing.

    #849945

    bodillabrun
    Member

    Thank you, timethief. Gradually improving ;-)

    #849947

    Just to note, the “.wf-active” part is specific to WordPress.com custom fonts and isn’t needed if you use “!important”. This should work:

    .entry-title {
    font-size: 28px !important;
    }

The topic ‘Font size of post title on home page’ is closed to new replies.