[Plugin: W3 Total Cache] Font problems with Firefox MaxCDN
-
Hello. I’m having trouble with Firefox and MacCDN… i setup everything on CDN tab in W3 Total Cache, but whhen i view it on Firefox, custom fonts don’t load :/
I already know it’s because of cross-domain font embend, tryed the .htaccess hacks i have been seeing, but nothing helped.
Is there any way i can just exclude it being loaded from the CDN? Since i use CloudFlare also, having 1 font not being loaded from MacCDN won’t kill me i guess.
I added wp-content/themes/ubuntubrsc/fonts/* to the rejected files textarea, cleared cache and all, but still don’t work.
I use this code to embend the fonts in my style.css file:
@font-face { font-family: 'LeagueGothicRegular'; src: url('fonts/League_Gothic-webfont.eot'); /* IE9 Compatibility Modes */ src: url('fonts/League_Gothic-webfont.eot?iefix') format('eot'), /* IE6-IE8 */ url('fonts/League_Gothic-webfont.woff') format('woff'), /* Modern Browsers */ url('fonts/League_Gothic-webfont.ttf') format('truetype'), /* Safari, Android, iOS */ url('fonts/League_Gothic-webfont.svg#webfontbDMP4rcs') format('svg'); /* Legacy iOS */ font-weight: normal; font-style: normal; }
So, is there any way i can stop those fonts from loading from CDN?
- The topic ‘[Plugin: W3 Total Cache] Font problems with Firefox MaxCDN’ is closed to new replies.