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

What is the font being used in XenResources?

imthebest

Well-known member
#4
Thanks! I just changed the style property "Message Text" of my site to set the font and it looks good but looking at the source code of your site I see this:

Code:
<link href='//fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
Do I also need to include that? Why is necessary to have that line? What it does? Thanks!
 

Chris D

XenForo developer
Staff member
#5
Unless the font is installed on a visitor's operating system it will not load that font. Open Sans isn't included in any OS by default as far as I know.

So to ensure that font is available to all users it can be served by Google Fonts. That's what that line does.
 

Tracy Perry

Well-known member
#6
Thanks! I just changed the style property "Message Text" of my site to set the font and it looks good but looking at the source code of your site I see this:

Code:
<link href='//fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
Do I also need to include that? Why is necessary to have that line? What it does? Thanks!
As Chris said, it is to load the font so that the users can view it. There are also some resources in the RM for loading Google Fonts locally and not being dependent upon Google to serve them.