Font rewrites in CSS
-
Hi Frank Goossens,
First, thank you very much for this awesome plugin. AO was the only one to properly handle that long JQuery tree in the theme I’m using. I think I’ve tried every single plugin out there to discover that AO is the one.
I’m missing one thing in AO: when using a CDN (by setting the base CDN URL), none of the fonts included in the minified CSS gets rewritten to the new domain.
The base URL works fine for JS and CSS itself, but it does nothing with fonts like
(eot|otf|ttf|woff|woff2).I just did a test: disabled AO’s CSS optimization and enabled W3TC CSS minification, reload and there! All fonts assets was happily coming from the CDN.
Is there a way to provide this rewriting in my function.php? Is that something that you consider to include in AO?
Thank you again!
The topic ‘Font rewrites in CSS’ is closed to new replies.