Support » Themes and Templates » changing font size of all post titles

  • Resolved nvolkert


    I want to change the font size of my posts. I used firebug and found the code to change

    .singular .entry-title {
        color: #000000;
        font-size: 36px;
        font-weight: bold;
        line-height: 48px;

    however, when I add this to my twenty eleven child theme it does not change it. Please help

Viewing 9 replies - 1 through 9 (of 9 total)
  • Did you refresh your browser to empty the cache? If that doesn’t fix it can you post a link to your site?

    What do you mean “add this” — you just need to change the existing CSS code. But there also may be another CSS declaration that is higher specificity — in which case it will override this one. If you post a link to your page and specifically describe what you want changed, it will be easier for someone to help you.

    of course I refreshed my browser. And I haven’t posted a link to my site because it’s not live it’s in draft version. I don’t know if you’ll be able to view it but here is the link:

    And you never change the theme code you always add and change the CHILD theme code which overwrites main theme.

    Does anyone else have suggestions?

    That IS the correct code to edit — so something is going on with your site relative to the CSS — do you have the child theme set up right and CSS files in the right places?

    Try adding h1 to the above CSS code because that’s what you really want to change.

    You also have a lot of CSS errors on that page so you might look at those too…

    Well all other code I’ve changed in child theme has worked so I believe it’s set up correctly.

    where do I add h1 exactly?

    Can you explain these errors?



    Forum Moderator

    Try validating your child theme’s CSS. It has at least 1 error in it.

    Am I correct in that validating a website is asking someone to look over your code?

    Is this what you suggest for fixing the size of my font on my post?

    No, you are not. Validation is an automated service that looks for errors and gives you advice on how to find and correct them. Google css validation.

    Take a look at line 36 of your child theme css and see if you don’t find something missing. Fix that and the rest of your style sheet will load, which, absent any more errors, will fix your font.

    Hint: it looks like a semicolon.

    thanks.. I fixed that line 36 and all other changes fixed correctly

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘changing font size of all post titles’ is closed to new replies.