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

XF 1.5 Option for users to change font

#1
Hi! This was recently brought to my attention and I'm wondering if it's possible. Could we add an option for dyslexic users to change the font all over the site, for just them? If so, how would we go about doing this? Accessibility is important to me and I want any users of my website to be able to access it regardless of impairments.

Thank you!

https://lakevalor.net
 

Mr Lucky

Well-known member
#2
Interesting idea, but I'm not aware that global font choice is possible.

I think you would need to create another style (e.g a child style) with that font, so users who want that font then just choose the style.
 

Matt C.

Active member
#3
Hi! This was recently brought to my attention and I'm wondering if it's possible. Could we add an option for dyslexic users to change the font all over the site, for just them? If so, how would we go about doing this? Accessibility is important to me and I want any users of my website to be able to access it regardless of impairments.

Thank you!

https://lakevalor.net
There is a way you could do it. It's not ideal, but it would work.

You can follow this guide from Brogran on how to use custom user fields to customize the layout.

Basically put this in the PAGE_CONTAINER template and wrap it with the custom user field conditional statement.
Code:
<style>
body {
font-family: yourfontshere;
}
</style>