Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
CSS Background Image URL Not CDN'd #16
When using the CDN drop-in, all of the images using
Example - http://phoenix.prontomarketing.com/
The big background banner image is not using the CDN.
Is this by design because most of the time CSS backgrounds use relative paths? It wouldnt get the CDN domain in that case either I suppose.
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
The CDN plugin is not able to change URLs for external JS/CSS files. If you add the CSS parts/definitions that need to point to the CDN to load inline (e.g. inside < head >< /head >, using the wp_head action) then the URLs can get modified to point to the CDN.
Or, you need to find another way to pre-process your CSS to change the URLs.
I hope that helps. Cheers!