Results 1 to 7 of 7

Thread: fonts.googleapis.com

  1. #1
    Join Date
    Jul 2010
    Location
    East Africa
    Posts
    37

    Default fonts.googleapis.com

    Hello,

    I've removed
    Code:
    @import url("https://fonts.googleapis.com/css?family=Ubuntu:500,700");
    from /templates/default/css/whmcs.css because it terribly slowed down the loading times of the site.

    Will I now burn in hell? IOW, do I have to expect any unwanted side effects because of this?

    Thank you!

  2. #2
    Join Date
    Jun 2010
    Location
    Lige her
    Posts
    183

    Default

    Hi,

    Remember to fix it in the CSS so there are set a font

    I would hope not because I have done the same

    http://forum.whmcs.com/showpost.php?...&postcount=294

    http://forum.whmcs.com/showpost.php?...&postcount=343
    Last edited by wsd; 03-10-12 at 07:58 PM.
    Best regards,
    WHMCS 5 | Customisable Packages | Live Chat | DirectAdmin | QuickPay | Joker | Netim

  3. #3
    Join Date
    Jul 2010
    Location
    East Africa
    Posts
    37

    Default

    Hi wsd,

    I simply deleted the line from the CSS.

    I wonder what's the idea behind this. The ubuntu font looks no different than the default sans-serif. The only thing is that there is no work flow anymore, because you can have a cup a of coffee now until any side loads.

  4. #4
    Join Date
    Feb 2009
    Location
    Atlanta, GA
    Posts
    1,683

    Default

    The CSS will default to another font if Ubuntu isnt available.

    Ubuntu looks nothing like Sans Serif, I'm not sure where you got that idea.

    http://font.ubuntu.com/
    http://thinkdesignblog.com/wp-conten...-museosans.jpg

  5. #5
    Join Date
    Jul 2010
    Posts
    645

    Default

    As mentioned by others you'll need to update the font for some styles (the headings h1, h2, h3, h4, h5, h6). Once that's done you won't see any problems with doing so but the benefit faster page load.

    Although I use a Google font I will admit that the slight delay while the font loads is a bit annoying. You can speed it up slightly more if you save the font and CSS locally rather than loading from Google (assuming the visitor's browser hasn't cached the font previously).
    Web hosting templates The best WHMCS & Wordpress + WHMCS templates | WHMCS Services

  6. #6
    Join Date
    Jan 2012
    Location
    UK
    Posts
    289

    Default

    Quote Originally Posted by zomex View Post
    As mentioned by others you'll need to update the font for some styles (the headings h1, h2, h3, h4, h5, h6). Once that's done you won't see any problems with doing so but the benefit faster page load.

    Although I use a Google font I will admit that the slight delay while the font loads is a bit annoying. You can speed it up slightly more if you save the font and CSS locally rather than loading from Google (assuming the visitor's browser hasn't cached the font previously).
    I would have to totally agree with you here. Most people tend to forget the can you host the font locally instead of looking up and resolving another domain to call the font.

  7. #7
    Join Date
    Feb 2009
    Location
    Atlanta, GA
    Posts
    1,683

    Default

    Quote Originally Posted by HostSurfUK View Post
    I would have to totally agree with you here. Most people tend to forget the can you host the font locally instead of looking up and resolving another domain to call the font.
    meh, every request has to resolve one way or another, whether its your server or googles. The only difference will come into play with caching. Obvious the DNS cache will come into play, but thats typically not a substancial increase in speed. The majority of the delay is going to be from serving the actual content. Users are far more likely to have the google font cached rather than your own site.

Similar Threads

  1. v3.8.1 fonts in ie
    By tomdchi in forum Customisation & Integration Questions
    Replies: 0
    Last Post: 12-13-08, 02:45 AM
  2. PDF Invoice Fonts and more
    By rbro in forum Customisation & Integration Questions
    Replies: 2
    Last Post: 12-06-07, 08:33 PM
  3. Additional fonts on PDF (verdana)
    By webprox in forum Customisation & Integration Questions
    Replies: 2
    Last Post: 04-10-07, 01:05 PM