[Resolved] Google Fonts – 400 Error

Tagged: 

  • Author
    Posts
  • #10881

    David Baker
    Participant

    Hi, I keep getting this error: GET https://fonts.googleapis.com/css net::ERR_ABORTED 400

    Any ideas?

    #10882

    Andrew Misplon
    Keymaster

    Hi David

    Please, send a link to your site and we’ll take a look.

    Thanks

    #10883

    David Baker
    Participant

    petful.com

    #10884

    Andrew Misplon
    Keymaster

    Thanks. I can see the issue, I’m just not sure what’s causing it. The font query is missing. We’d need to run a few tests to isolate the cause. If you’d like me to do those for you, please, send me an email on [email protected]. If you’d prefer to run them yourself, here is what I’d do:

    1. Clear any caches you might have, hosting or plugin level.
    2. Switch to the parent theme, same issue?
    3. Temporarily deactivate all plugins except for Polestar Premium, same issue?

    Thanks again.

    #10887

    David Baker
    Participant

    I just switched to parent theme temporarily — the issue was gone

    #10890

    Andrew Misplon
    Keymaster

    Thanks. It looks like your child style.css file is empty. Please, try adding a head to your child style.css file exactly as is listed here.

    Next, check your functions.php file, check to see if you’re setting up your child like this: https://github.com/purothemes/polestar-child/blob/master/functions.php.

    #10891

    David Baker
    Participant

    I checked child style.css and the head is there. However, it is blank below the head because all of the custom styles were added using the built-in WordPress customization menu. (I tried removing them there and adding them to custom style.css — but the layout was all messed up so switched back.)

    I also checked functions.php and the child setup is correct as is.

    #10892

    Andrew Misplon
    Keymaster

    When viewing the child theme style.css file in the developer tool, it’s empty. You can see the same here: https://www.petful.com/wp-content/themes/polestar-child/style.css by going to the link in your browser.

    To confirm the issue is with the child theme, please test with all plugins deactivated except for Polestar Premium. Thanks.

    #10895

    David Baker
    Participant

    Solved! Sorry, my tech person had added some coding to child functions that overrode the fonts or something like that. I removed it and it works now. Thanks for the help.

    #10899

    Andrew Misplon
    Keymaster

    Awesome 🙂 Glad to hear you’ve made progress.

    All the best.

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.

Scroll to top