Quantcast
Viewing all articles
Browse latest Browse all 19292

chucknb28409 on "[Plugin: W3 Total Cache] 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

https://wordpress.org/plugins/w3-total-cache/


Viewing all articles
Browse latest Browse all 19292

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>