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

Discussion in 'XenForo Questions and Support' started by Dadparvar, Dec 17, 2015.

  1. Dadparvar

    Dadparvar Well-Known Member

    Hi,

    How can I set font of my xenforo to:
    • X if language is English
    • Y if language is Persian
    Thanks
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    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.
     
    Fethi.dz and Dadparvar like this.
  3. khan786

    khan786 Member

    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
     

Share This Page