Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #21068

    I’m trying to make the titles of my pages and the titles of my blog posts the same font size. And I’m having trouble doing it. I can’t even seem to get the h1 to change sizes on my pages.

    I tried this in my custom.css to no avail:

    .page-template-default h1 { font-size: 20px; line-height: 1.1em; margin-bottom: 10px;}

    In fact I tried any number of classes and the #main id from the body tag in front of the h1 style. None worked.

    Could you tell me how to change the font size for each different template? Thx.

    #110329

    This morning I started working on my site in the theme again and, guess what? The css above that I added to the custom.css file was working! But then I changed the font size and, once again, it is not showing up. I cleared my cache but that still didn’t update the font size.

    Can you explain to me why the lag in updating? And, is there anything I can do to make the change visible immediately? Thx.

    BTW, I would like your confirmation that the css above IS the right way to deal with this issue.

    #110330

    Hi outtacontext,

    It sounds like you are just viewing a cached version. You can try viewing the site in a Chrome Ingonetio window or the same in Firefox if you use that instead. That way you are definitely viewing a uncached version of the site.

    You can also use something like this though the above is correct:

    #top.page .content h1 {
    font-size: 25px;
    }

    Regards,

    Devin

    #110331

    Thanks. As it turns out my webhost has a redundancy server. Sigh. So I didn’t see changes because I was always going to the old file on one of the servers. I’ve fixed that.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Changing font-size of h1 in Sentence Theme’ is closed to new replies.