Font size class is added to html and body
-
Thank you for the great, free plugin!
I noticed when using the text resizer and navigating between pages that the font sizes were all messed up. The first time I toggled the option everything appeared as it should, but on other pages some things were huge, some small, and toggling the button didn’t reset it. Upon inspecting the page in Chrome, it looks like the font-size class is being added to both the html and body tags, and not being removed from the body when the button is toggled again… since my css uses rems, it causes all kinds of goofiness!
To replicate:
– Use rems or ems in your theme’s css
– Toggle the text resize button. Should appear as expected.
– Navigate to any other page on the site. Font sizes won’t appear as expected.
– Toggle the text resize button again. Font sizes won’t reset, or appear as expected, until you refresh.I’m developing on localhost right now so I don’t have a link to show you at the moment…
- The topic ‘Font size class is added to html and body’ is closed to new replies.