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.
     
    Dadparvar likes this.

Share This Page