1. 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

Discussion in 'Resource and Add-on Requests' started by ashkir, Oct 11, 2012.

  1. ashkir

    ashkir Active Member

    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?
  2. Chris D

    Chris D XenForo Developer Staff Member

    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" />

    Then your user profile preference would be "Would you like to enable the dyslexic font?" Yes/No
    0xym0r0n likes this.
  3. ashkir

    ashkir Active Member

Share This Page