• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Profile Font Option - Dyslexic Persons

ashkir

Active member
#1
Hi there. Dyslexia is a common problem and forums can be scary and troublesome. I would like to request an addon to allow them to select a font to load it as the primary website font. http://dyslexicfonts.com/

Anyone know of anything that does this or how hard it'd be to make?
 

Chris D

XenForo developer
Staff member
#2
This should be quite straight forward, in theory.

You'd just need a custom user profile field preference, then load a specific CSS file if the person has that preference switched on. Something like:

<xen:if is="{$visitor.customFields.dyslexic} == 'yes'">
<xen:require css="dyslexic.css" />
</xen:if>

Then your user profile preference would be "Would you like to enable the dyslexic font?" Yes/No