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

XF 1.5 How to change font based on language

Chris D

XenForo developer
Staff member
#2
You may have to use inline styling within <style></style> tags inside a template such as PAGE_CONTAINER.

There you could use a conditional to check the language of a user and load different CSS depending on the language they have enabled.
 
#3
You may have to use inline styling within <style></style> tags inside a template such as PAGE_CONTAINER.

There you could use a conditional to check the language of a user and load different CSS depending on the language they have enabled.
Sorry making this thread alive, please can you explain step by step how I can do that as I'm totally new here. I have multiple languages, such as English and Arabic. I want to keep English same as it is by default result however Arabic words look too small to me by default, I wanna make font a little more bigger if users switch to Arabic language.
Appreciate if you can explain in easy words from the very first step, I would be thankful to you