WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Just can't increase all font size in TwentyTwelve child theme (6 posts)

  1. 5high
    Member
    Posted 1 year ago #

    Hi,

    I've read all the posts about changing the default font-size for standard page and post paragraphs, and tried various suggested css including...

    body {
        font-size: 16px! important;
        font-size: 1.142857142rem! important;
    }
    html {
        font-size: 100%;
    }
    .entry-content p, .entry-summary p, .comment-content p, .mu_register p {
        font-size: 120%;
    }

    none of which seem to have any effect!

    I'm totally stumped - any advice would be much appreciated re: increasing page and post body text to 16px please.

    Thanks!

  2. thescribbler
    Member
    Posted 1 year ago #

    Hi,

    You've got your syntax slightly wrong.

    body {
        font-size: 16px! important;
        font-size: 1.142857142rem! important;
    }

    should be...

    body {
        font-size: 16px !important;
        font-size: 1.142857142rem !important;
    }

    The apostrophe should be right before important, not right after the value.

  3. 5high
    Member
    Posted 1 year ago #

    Thanks for your reply scribbler - I've re-tried it with the correct syntax as suggested, but no change still. Any other ideas?
    Cheers.

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    Let's see your site.

  5. 5high
    Member
    Posted 1 year ago #

    Hi Andrew,

    it's here: http://trevorpenfold.com/

    just give me 2 ticks to take it out of maintenance mode - and I'll keep it out for the next hour...

    Cheers.

  6. 5high
    Member
    Posted 1 year ago #

    Ok, I've found the culprit... one too many / in between 2 comments in my style.css, which must have stopped it from working.

    Now works fine as suggested by the scribbler!

    many thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic