• 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

Betclever

Active member
#1
Hello,

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?

Thanks.
 

Arty

Well-known member
#4
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:
Code:
body {
font-family: Gautami, Verdana;
}
See https://developer.mozilla.org/en-US/docs/Web/CSS/font-family