[Resolved] net::ERR_ABORTED 400 for GP native fonts

Home Forums Support [Resolved] net::ERR_ABORTED 400 for GP native fonts

Home Forums Support net::ERR_ABORTED 400 for GP native fonts

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2322357
    Sebastian

    Hi

    I noticed I’m having this annoying error message in my dev console:
    GET https://fonts.googleapis.com/css?family=michroma&display=swap net::ERR_ABORTED 400

    I’m not calling this font myself anywhere that I’m aware of. Maybe you guys can have a look?

    #2322546
    David
    Staff
    Customer Support

    Hi there,

    i am not seeing the error in the console. Is this only on the local development site ?

    #2323124
    Sebastian

    Yes, the site only exists on local. Could that be the cause? I’m leaning more towards the michroma name being all lower caps though.

    #2323350
    David
    Staff
    Customer Support

    If it were a syntax error then i would expect to have seen the error in my dev tools.
    Can you reopen the tunnel so i can take another look ?

    #2323355
    Sebastian

    Absolutely! It’s wide open 😊

    This is what it looks like to me:
    Status 400 img

    #2323482
    David
    Staff
    Customer Support

    Ooh , now i see the error, and yes the font-family is incorrect.

    correct = https://fonts.googleapis.com/css?family=Michroma&display=swap

    So that font request has this handle: generateblocks-google-fonts-css which means the font has been selected in GenerateBlocks.
    So i checked the CSS stylesheet that GB is loading and found the CSS:

    h3.gb-headline-7a0e8f67 {
        font-family: michroma;
        color: #FFFFFF;
    }

    Which is the Headline you have in the Footer titled: Hjälplabbet

    Edit that Block and where the Google Font has been selected in its Typography settings make sure it is Michroma and not michroma

    #2323490
    Sebastian

    Yup! And just like that, problem solved 😃 If I could I would buy you a beer!

    Thank you David

    #2323660
    David
    Staff
    Customer Support

    Glad to be of help!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.