Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Inline CSS and Background Images

$
0
0

Replies: 0

Under Advanced Asset Optimization, if I mark my theme’s CSS file to be inline I lose all my background images since the CSS file calls the images using relative directories (ie. images/background_image.jpg) rather than absolute directories (https://website.com/wp-content/theme/mytheme/images/background_image.jpg).

Is there a way around this or do I need to edit my theme’s CSS file? I would rather not make that change since it requires making a child theme so I don’t lose these changes when the theme is updated.


Viewing all articles
Browse latest Browse all 59525

Trending Articles