XF 2.1 Anyway to select font size for users?

gogo

Well-known member
If there's something like A A A somewhere on footer/header for users to change font size that would be cool. Or there's an options for setting default font size in user's preference.

In PC browser, we can easily change font size by CTRL +/- but we can't do it in mobile version. Pinching will resize everything on the page that's not ideal.
 
@Xon has an addon - https://atelieraphelion.com/products/font-resizer.94/

It adds an option to the navigation menu that lets the user choose the font size they want to use.
This add-on requires updating your style to use "rem" size units instead of "px", which takes a bunch of editing of your style.

The easiest way is to export your style as an xml file, and search it for "px" for things touching fonts and edit them to "rem" (which requires rescaling the value, not just changing the unit!). But this requires not damaging the xml file and is fairly tedious
 
Last edited:
Not to mention that rem sizes are widely different from pixel sizes and if you're unfamiliar with using rems it would require going through the whole theme and adjusting the values that are not touched by any add on.
 
Top Bottom