Topic Resolution: Resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33102
    Thierry Debelle
    Guest

    Hello,
    I am using the Haven theme and ran into what I believe is an issue when trying to adjust font size across the whole theme.
    I am using the Customize > Fonts options and it gives me the ability to change the font size when using the slider, but the numeric indicator on the right size does NOT change (always 20). So it is hard (even with the visual feedback on the page itself) to adjust font size.
    Am I missing something?
    I tried to use Custom Theme CSS to have fine control but it does not seem to work. Here is what I tried:

    body h1 {
    font-size: 24px;
    }

    based on: https://www.boldgrid.com/support/question/4522-how-do-i-change-all-the-default-text-sizes-eg-default-paragraph-text-is-too-big/

    Any feedback would be useful.
    Thanks,
    Thierry

    #33108
    Jesse Owens
    Keymaster

    Hi Thierry-

    Thanks for letting us know about that bug! I’ve let the developers know so that we can get that fixed as soon as possible.

    Your CSS is almost right, you’ll just need to add an !important flag to the rule:

    body h1 {
    font-size: 24px !important;
    }
    
    #33113
    Thierry Debelle
    Guest

    Jesse,

    Thanks for the quick follow up.

    That did the trick.

    Thanks,

    Thierry

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Haven theme – How to adjust font size to a specific px value?’ is closed to new replies.