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

Discussion in 'Off Topic' started by imthebest, Oct 23, 2014.

  1. imthebest

    imthebest Formerly Super120

  2. Liam W

    Liam W Well-Known Member


    Attached Files:

    imthebest likes this.
  3. Chris D

    Chris D XenForo Developer Staff Member

    Open Sans its a Google Font.
    imthebest likes this.
  4. imthebest

    imthebest Formerly Super120

    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:

    <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!
  5. Chris D

    Chris D XenForo Developer Staff Member

    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.
  6. Tracy Perry

    Tracy Perry Well-Known Member

    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.

Share This Page