[Resolved] Catalyst Demo Site Query

Home Forums Support [Resolved] Catalyst Demo Site Query

Home Forums Support Catalyst Demo Site Query

Viewing 15 posts - 46 through 60 (of 60 total)
  • Author
    Posts
  • #908000
    David
    Staff
    Customer Support

    Its the GP icon font – there isn’t a fallback font for it. But a user did post his fix for that particular warning here:

    https://generatepress.com/forums/topic/adding-font-display-to-css/#post-906253

    If you wait for the next theme update, 2.3 which is coming very soon it will allow you select SVG icons instead of the font, so this warning wont appear at all.

    #908099
    Oisin

    Excellent stuff,

    It’s great that you guys are working on a fix for this already. Do you think the new release will be a matter of days or weeks? If it’s soon, I won’t pursue the other fix.

    Cheers,

    Johnny.

    #908117
    Leo
    Staff
    Customer Support

    The Alpha should be out in a few days.

    The official version depends on how Alpha goes 🙂

    #908138
    Oisin

    Nice, you guys work fast.

    I’m one item off scoring an A (100%) in YSLow and thought you might know the answer. YSlow is telling me to add Expires header to https://fonts.googleapis.com/css?family=Open+Sans:regular,600,700%7CMontserrat:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,90…

    What do I need to do to remove this error? O know I can’t add an expires header because it’s an external resource.

    Is there another technique?

    #908269
    Tom
    Lead Developer
    Lead Developer

    You would likely need to locally host the font files: https://docs.generatepress.com/article/adding-local-fonts/

    #908518
    Oisin

    Cheers Tom,

    I’ll do that today. Thanks for the advice.

    #908848
    Tom
    Lead Developer
    Lead Developer

    No problem 🙂

    #911095
    Oisin

    Hi Guys,

    I set up a cookie free domain to satisfy the page speed audits. Since I did it, I notice that my burger symbol, twitter logo, and Facebook logo are all missing on mobile. On desktop I’m missing the small symbol on the “scroll back to the top” box.

    I also just added Montserrat to my local fonts, thanks for putting together that handy guide. For some reason all my headings display New Times Roman when I choose Montserrat from system fonts. And when I hit publish and recheck, Montserrat Google Fonts is selected instead of Montserrat system fonts.

    I’ve since changed everything to Helvetica from system fonts because New Times looks terrible. I’ll leave the error persist on H2. You can see it on my banner – https://www.loadlabz.com/

    Any suggestions much appreciated.

    Best regards,

    Johnny.

    #911361
    Tom
    Lead Developer
    Lead Developer

    That’s happening because those icons are fonts, and browsers typically won’t display fonts if they’re supplied by a different URL than the one you’re viewing. In your case, we’re viewing your website URL, but the resources are coming from static.loadlabz.com. If you right click your page and click “Console”, you’ll see the errors.

    This might help: https://stackoverflow.com/questions/13421463/htaccess-access-control-allow-origin

    Let me know 🙂

    #912413
    Oisin

    Cheers Tom,

    Another excellent bit of advice. In the immortal words of Borat, “Great success!”.

    I just added this to htaccess and everything started working again:

    <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin “*”
    </IfModule>

    Strange why all other content types are fine but fonts get blocked. Are they a security risk or something?

    Thanks again,

    Johnny.

    #912647
    Tom
    Lead Developer
    Lead Developer

    They can be if they’re coming from a nasty source. In this case, you’re in full control of the files, so it’s safe 🙂

    #945875
    Oisin

    Hi Guys,

    I reverted back to a standard domain i.e. not using static subdomain. I tried to set up local fonts but keep hitting the same issue as follows:

    1. I set up the local fonts using the GeneratePress guide

    2. I go to the Typography settings in the Customizer and select my newly added fonts

    3. I hit publish

    4. I refresh then check my recent font selection only to find that it is no longer set to local fonts and is instead using Google Fonts. Aarrrrgh!

    Why in the name of all that is holy could this be happening? It is frustrating beyond words.

    Any help or advice much appreciated.

    Johnny.

    #946210
    David
    Staff
    Customer Support

    Hi there,

    checking the link in your original topic and i am seeing Montserrat and Open Sans both are being loaded from your server.

    #959482
    Oisin

    Cheers David,

    Yes, it seems to be working fine now. Thanks for checking in.

    Generate Press has motivated me to learn CSS. I have to say thanks for creating such an amazing theme. I’m starting to appreciate just how beautifully coded it is. I’m recommending it to everyone.

    The support is unreal, thanks to all the team.

    Johnny.

    #969796
    David
    Staff
    Customer Support

    Glad we could be of help and thanks for the great feedback

Viewing 15 posts - 46 through 60 (of 60 total)
  • You must be logged in to reply to this topic.