- This topic has 14 replies, 3 voices, and was last updated 5 years, 2 months ago by Ramesh Srinivasan.
August 30, 2016 at 10:24 am #222541Liana Ghazarian
I set the navigation item font to Arial and basically all other fonts are set to Arial in Customize section.
I my navigation menu in Chrome I see squares next to menu items, in Safari I see nothing but when I enter the customize mode I see a symbol pointing down, in Firefox I see squares with some symbols inside. On the phone it is something else. How can I correct this?
Thank youAugust 30, 2016 at 10:26 am #222544TomLead DeveloperLead Developer
Hi there,August 30, 2016 at 10:41 am #222551Liana Ghazarian
If I understood correctly…
I copied the following to htaccess file, but i still see different symbols. I emptied cache, but i still see them.
# Allow access from all domains for webfonts.
Header set Access-Control-Allow-Origin “*”
</IfModule>August 30, 2016 at 11:35 am #222574Ramesh Srinivasan
Also include Woff2 to the list if you’re loading it from CDN or alternate domain.August 30, 2016 at 3:00 pm #222617TomLead DeveloperLead Developer
Good point, Ramesh.
# Allow access from all domains for webfonts. <IfModule mod_headers.c> <FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css|css)$"> Header set Access-Control-Allow-Origin "*" </FilesMatch> </IfModule>August 31, 2016 at 1:22 am #222679Liana Ghazarian
Nope, I am still seeing squares.August 31, 2016 at 9:43 am #222785TomLead DeveloperLead DeveloperAugust 31, 2016 at 10:24 am #222808Liana Ghazarian
Sorry forgot to give the address. It is kksenyak.amAugust 31, 2016 at 10:58 am #222811Ramesh Srinivasan
I’m wondering why Font Awesome fonts are trying to load from here?
It’s supposed to be loaded from your site, or from one of the free Font Awesome CDNs.. but not from Google certainly.
Pls try disabling the minification Plugin you’re using, for testing purpose. It may be redirecting fonts incorrectly.August 31, 2016 at 11:03 am #222814TomLead DeveloperLead Developer
Yea I’m not sure what’s going on there.
If you haven’t added any custom code, can you try #1 on this page?: https://generatepress.com/knowledgebase/debugging/September 1, 2016 at 7:05 am #222997Liana Ghazarian
I am using W3 Total Cache to minify things. When i disables the plugin, this corrected the problem. No more symbols.
Should I just delete any entry with awesome fonts in my minify list?September 1, 2016 at 9:39 am #223033TomLead DeveloperLead DeveloperSeptember 1, 2016 at 10:49 am #223049Ramesh Srinivasan
What Tom said.
Unless you set the CDN URL to something like “http://fonts.googleapis.com/fonts”, it shouldn’t redirect your fonts there. Is CDN enabled in W3TC? You can add woff, woff2, ttf, eot to exclusion list.September 1, 2016 at 1:34 pm #223093Liana Ghazarian
I added the exceptions and deleted any line with the word Font in minify commande. The squares disappeared.
Thank you.September 1, 2016 at 8:57 pm #223154Ramesh Srinivasan
Excellent. Thanks for the update.
- You must be logged in to reply to this topic.