Post title font size not consistent on main and blog pages in Oxygen?

  • Unknown's avatar

    Hi,

    The font size of my post titles on the ‘home page’ is larger than, for instance, on a ‘category archive’ page, and also larger than the font size of my top navigation bar. However hard I tried, I can’t seem to be able to fix it. Because when I decrease

    h1.entry-title a {
    font-size: 1em;
    }
    to 0.9 em for instance (I do have the CSS upgrade), it decreases the font size on the main page, but it also decreases the size of the post titles on the archive page. Since those were already smaller to begin with, they become even smaller still, and I wanted them to become similar in size. Any idea how to change that?

    Thanks for the help!

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

  • Unknown's avatar

    You can target specific pages in most themes here at WordPress.com by using one of the body classes listed in the opening body tag. View the source code on your main page and look for the opening body tag, which looks like this <body class="home page page-id-271…>. We can use the “home” class to target the titles on the home page only using the following:

    .home h1.entry-title a {
    font-size: 0.9em;
    }
  • Unknown's avatar

    Done!

    As before – thanks very much!

  • Unknown's avatar
  • The topic ‘Post title font size not consistent on main and blog pages in Oxygen?’ is closed to new replies.