Enlarging font size on blog without enlarging date/comments tag

  • Unknown's avatar

    Hi all,

    I’d like to be able to increase the font size for the body text in my blog posts. But when I try to do this via the “Customizing Fonts > Base Font” interface, the size of the date/comments header gets bigger too.

    Is there a way to change just the body text?

    Thanks in advance for your help.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    I’m new to WordPress and don’t really know where that Base Font connects but you can try this if you don’t get a better answer. Go to your admin change the Base Font then under Appearance/Customize/CSS add this at the end (I’d copy the existing CSS using notepad first in case you mess up a tag by accident you can past it back in).

    .entry-meta {
        font-size: 10px;
    }

    or

    .entry-meta {
        font-size: .90em;
    }

    the first you can use to set a specific font size. Sometimes the fonts are ‘relative’ to others, so the second option sets is at .90 of the original size. You can change the numbers up and down on either and see if it does what you want. Also view in IE/Firefox and Chrome to make sure it looks the same.

  • Unknown's avatar

    Hi there, I see the following in your custom CSS, which makes the post content font smaller.

    .entry-content {
        background-color: #fff !important;
        font-size: 10pt;
    }

    If you wish to increase the font size, just adjust that number.

    One thing I would suggest would be specifying fonts on the web in pixels. Points are for print media based on 72 points per inch, and that really doesn’t relate to screen dimensions.

    Do you still need help with the font sizing or are you good with what you have?

  • Unknown's avatar

    Thanks stormvisions and thesacredpath, that’s very helpful indeed!

  • Unknown's avatar
  • The topic ‘Enlarging font size on blog without enlarging date/comments tag’ is closed to new replies.