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

XF 1.4 Change font police everywhere

Discussion in 'XenForo Questions and Support' started by Betclever, Jun 16, 2015.

  1. Betclever

    Betclever Active Member


    Is there any option or CSS code to change the font police everywhere so not only on the index page but use the same police on all pages so everywhere?

  2. Betclever

    Betclever Active Member

    I found, I added this under extra.css

    body {
    font-family: gautami;
  3. Amaury

    Amaury Well-Known Member

    Don't know what you mean by police, but see my resource here.
  4. Arty

    Arty Well-Known Member

    Font "Gautami" is not a standard font. Your visitors don't have it installed on their computers and won't see it. Test it by trying your forum on any other computer - you won't see that font.

    To be able to use custom fonts you need to create web font from it and add link to css. Google for tutorials on how to do it, there are plenty of them.

    Also you need to add fallback font to your code in case if browser fails to load Gautami font. Add it after comma, like this:
    body {
    font-family: Gautami, Verdana;
    See https://developer.mozilla.org/en-US/docs/Web/CSS/font-family

Share This Page