Font sizer on mobile?
Posted
#8607
(In Topic #2870)

Standard member

How to add Font Sizer to mobile view?
The Font Sizer works great on the desktop however, it does not seem to be present on the mobile view. I've had some request to be able to change the font size for small screen devices.I looked through the site settings, but don't see a simple way to make the Font Sizer available on mobile devices as well as on the desktop. What must I do to have it available on both?
Posted

Site staff

You can make a quick edit to themes/default/templates/GLOBAL_HTML_WRAP.tpl (or create a copy with the required changes applied inside themes/default/templates_custom). Just remove the outer tempcode which limits output to desktop view and all should be well.
Find:-
Code
{+START,IF,{$NOT,{$MOBILE}}} {+START,INCLUDE,FONT_SIZER}{+END} {+END}
Code
{+START,INCLUDE,FONT_SIZER}{+END}
Posted

Standard member

That worked perfectly. I just wish there was a toggle in the settings for this.
I placed a copy of the edited "tpl" file in the "templates_custom" folder to hopefully retain the changes after a future update.
Last edit: by Keith Parker
1 guest and 0 members have just viewed this.