March 12, 2018 at 9:50 pm #10418
I use Safari on Mac and it seems like the font is working well (mobile and desktop)
But when I try the site in Chrome or FF on mac, my font (Prime Regular) is replaced by Times New Roman or something like that.
I see several posts in the forum about the issue, but no solution.
I have tried uploading the font over again, assign the font to elements over again and even re-installed the plugin.
On my test server everything works fine: http://prod1.hjelmeweb.no (different site, but same setup)
Any idea?March 14, 2018 at 2:55 pm #10420
In your case, your live server is not allowing to load the font due to Cross domain issue.
Access to Font at ‘http://emobgeiranger.no/wp-content/uploads/useanyfont/180312093141Prime.woff’ from origin ‘http://www.emobgeiranger.no’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://www.emobgeiranger.no’ is therefore not allowed access.
It means that, your site is running from emobgeiranger.no without www and font is trying to load from http://www.emobgeiranger.no
So please keep this in your htaccess file and it should fix your issue.
<FilesMatch "\.(ttf|otf|eot|woff|css)$"> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> </FilesMatch>
Hope this helps.
ThanksMarch 21, 2018 at 12:11 am #10444
I am having this issue too and adding this to .htaccess did not help. What’s strange is that I had no issues in any browsers last night.March 21, 2018 at 12:14 am #10445
UPDATE: After clearing the website cache it began working. Thanks for the fix!March 21, 2018 at 5:22 pm #10449
Okay, so this fix didn’t last long. Not working again.March 21, 2018 at 6:51 pm #10457
Still there is CORS issue. If you have placed it in your htaccess file and still not working, please ask your host provider to enabled CORS.