How can I keep using @font-face styles when using a CDN?
Try adding this to your .htaccess file:
<FilesMatch "\.(ttf|ttc|otf|eot|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
If that doesn't work, you can make CDN for Joomla! ignore your @fontface css files.
Place all your& @font-face declarations in a separate css file called font.css.
Then just place font.css in the 'Ignore Files' field.
Now the font.css file will e served from your own website instead of the CDN server.
Time to create page: 0.069 seconds