Enabling CDN breaks font-awesome in Firefox, despite correct htaccess
-
Hi,
When I enable CDN it breaks font-awesome and my custom fonts in Firefox. When the CDN is disabled it works great for all browsers. I checked the htaccess and it contains the code required for firefox
<FilesMatch "\.(ttf|ttc|otf|eot|woff|font.css)$"> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> </FilesMatch>
This only happens in firefox. I also made sure the theme file types to be uploaded include all the font type extensions used. Also my font face markup in the child theme is the following:
@font-face{ font-family: 'Sofachrome'; src: local('sofachromergit'), url("font/sofachromergit.woff") format('woff'), url("font/sofachromergit.ttf") format('truetype'); }
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Enabling CDN breaks font-awesome in Firefox, despite correct htaccess’ is closed to new replies.