- This topic has 59 replies, 4 voices, and was last updated 1 year, 7 months ago by David.
May 22, 2019 at 8:31 am #908000DavidStaffCustomer 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:
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.May 22, 2019 at 10:14 am #908099Oisin
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.
Johnny.May 22, 2019 at 10:36 am #908117LeoStaffCustomer SupportMay 22, 2019 at 11:01 am #908138Oisin
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?May 22, 2019 at 3:09 pm #908269TomLead DeveloperLead Developer
You would likely need to locally host the font files: https://docs.generatepress.com/article/adding-local-fonts/May 23, 2019 at 1:52 am #908518Oisin
I’ll do that today. Thanks for the advice.May 23, 2019 at 7:05 am #908848TomLead DeveloperLead DeveloperMay 26, 2019 at 5:40 am #911095Oisin
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.
Johnny.May 26, 2019 at 9:29 am #911361TomLead DeveloperLead 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.
Let me know 🙂May 27, 2019 at 10:35 am #912413Oisin
Another excellent bit of advice. In the immortal words of Borat, “Great success!”.
I just added this to htaccess and everything started working again:
Header set Access-Control-Allow-Origin “*”
Strange why all other content types are fine but fonts get blocked. Are they a security risk or something?
Johnny.May 27, 2019 at 4:19 pm #912647TomLead DeveloperLead DeveloperJuly 1, 2019 at 4:13 am #945875Oisin
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.July 1, 2019 at 8:46 am #946210DavidStaffCustomer SupportJuly 16, 2019 at 11:05 am #959482Oisin
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.July 29, 2019 at 1:28 am #969796
- You must be logged in to reply to this topic.