• Resolved hadarhacohen

    (@hadarhacohen)


    I would like to change the form fonts size, but cannot figure how to do it.
    I will appreciate your assist!!

    Thanks
    Hadar

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    This is happening because your website has the following CSS:

    html { font-size: 62.5%; }

    This was a hack that was popular 10 years ago when REM units were still new and developers wanted an easy way to calculate REM font-sizes from PX values. Setting the HTML font-size to 62.5% essentially sets the base font size to 10px; using this hack, if you wanted to set your font size to 16px while still using REM units, you would simply write 1.6rem.

    While some themes still do this by default, it seems that many developers have forgotten why it was done. Chances are if you add the following custom CSS to your theme, nothing else will change (meaning that the rule is not being used by your theme to calculate REM based pixel values) except that that font sizes will be fixed:

    html { font-size: 100%; }

    Try it and let me know if it solves your problem.

    • This reply was modified 2 years, 3 months ago by Gemini Labs.
    Thread Starter hadarhacohen

    (@hadarhacohen)

    WOW !!!!
    It work!!

    Many thanks!
    Hadar

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘font size’ is closed to new replies.