0
Welcome Guest! Login
0 items Join Now

Can't get any of the google fonts to load?

    • fewleh's Avatar
    • fewleh
    • Hero Rocketeer
    • Posts: 340
    • Thanks: 0

    Can't get any of the google fonts to load?

    Posted 11 years 11 months ago
    • Hi, I'm trying to use opensans, and some others, but it just doesn't update. Once changing the font, I clear the gantry cache, joomla cache, browser cache, and refresh, and nothing, it still is using helvetica.

      site is v2.marlownailandbeauty.co.uk

      Do I need to get the compiled css files to update or something?

      Really don't understand why you've made the CSS stuff so much more complex and fiddly. It might be good for the 5% of people with large sites, but for people that just want to build something and edit it, this LESS stuff is a ballache.
    • www.cityinsurance.co.uk
    • Ben Simon's Avatar
    • Ben Simon
    • Elite Rocketeer
    • Posts: 4301
    • Thanks: 8
    • Full-time web developer

    Re: Can't get any of the google fonts to load?

    Posted 11 years 11 months ago
    • Which css file are you editing?
    • B e courteous to staff and members that volunteer their time helping you
      E ssential Tool - FireBug
      N ever assume I know what version you're talking about

      S earch the forum for a solution first
      I nclude a link to the problem
      M ark your resolved issues as [SOLVED]
      O nly PM moderators if they request it first
      N o...
    • fewleh's Avatar
    • fewleh
    • Hero Rocketeer
    • Posts: 340
    • Thanks: 0

    Re: Can't get any of the google fonts to load?

    Posted 11 years 10 months ago
    • Hi, sorry I missed the reply and just come back to the issue - I have some better information - The regular fonts all work OK.. it's the google fonts that don't work.. and it reverts back to helvetica if any google font is chosen - I can add each font one at a time custom style and it will work, but I wanted to browse all the google fonts and see them live etc.. wonder why they arn't loading?

      Regarding CSS, I have a custom .css file, I've not got anything that would affect body text?

      I've updated it etc and still the problem is there, what can we do to find out the problem? Thanks
    • www.cityinsurance.co.uk
    • fewleh's Avatar
    • fewleh
    • Hero Rocketeer
    • Posts: 340
    • Thanks: 0

    Re: Can't get any of the google fonts to load?

    Posted 11 years 10 months ago
    • Is it because it's running from a subdomain? v2.marlownailandbeauty.co.uk Affecting the path of the javacript source?

      In the 'view source' output, i'm seeing -- <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Acme" type="text/css" />

      Is the // at the start of the url maybe causing an issue?
    • Last Edit: 11 years 10 months ago by fewleh.
    • www.cityinsurance.co.uk
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Can't get any of the google fonts to load?

    Posted 11 years 10 months ago
    • Google fonts are only used for h1, h2 and h3 by default and not for the body text ...
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Can't get any of the google fonts to load?

    Posted 11 years 10 months ago
    • adding

      html body h1,
      html body h2,
      html body h3,
      body { font-family: 'Acme', 'Helvetica', arial, serif !important; }

      will turn everything into Acme ... for example ... if you have Acme selected in gantry settings
    • fewleh's Avatar
    • fewleh
    • Hero Rocketeer
    • Posts: 340
    • Thanks: 0

    Re: Can't get any of the google fonts to load?

    Posted 11 years 10 months ago
    • Ah, Henning.. thanks. I didn't realise it wasn't doing anything with the body text. The Acme thing didn't seem to work, but i've added opensans as body text to my customcss & it looks perfect anyway, so it's all good. Thank you again
    • www.cityinsurance.co.uk
    • Cranky's Avatar
    • Cranky
    • Jr. Rocketeer
    • Posts: 47
    • Thanks: 0

    Re: Can't get any of the google fonts to load?

    Posted 11 years 8 months ago
    • @Henning:
      Thank you very much. I have the same issue, i want to change fonts also for other tags (not only h1,h2, h3) but also for h4, body
      Where i need to put your change ?
      Thanks
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Can't get any of the google fonts to load?

    Posted 11 years 8 months ago
    • That really depends on the specific site ...
      May be you have a link?
    • Cranky's Avatar
    • Cranky
    • Jr. Rocketeer
    • Posts: 47
    • Thanks: 0

    Re: Can't get any of the google fonts to load?

    Posted 11 years 8 months ago

Time to create page: 0.062 seconds