Do you have some kind of caching plugin? Your site code seems to be minified. Try clearing and/or deactivating that.
Aside from that, how are you adding the background?
My caching plugin is Wp Super Cache and I am using Autoptimize to minify js and css. Should I be using a different cache and/or minify plugin? Pretty new to all this but a quick learner but this has me stumped.
Caching is fine – but if you are making changes on your site, they won’t show up if the cache isn’t cleared. Have you done that?
BTW, if your site is brand new and you are working on it a lot, clear and turn off all the caching.
add “body.custom-background” to the comma-seperated list of CSS to exclude from optimization in autoptimize and all should be well.
frank (autoptimize dev)
Cache is cleared and is turned off.
Do I add that with quote marks around it?? If so I did that and it didn’t work. I went and deactivated the autoptimize plugin and now I can see my background. But I really need the plugin because that helped my page speed numbers. Any ideas???
without the quote marks. have a look at the FAQ for more info on why and how to exclude CSS and/ or JS from optimization.
frank
Okay I activated the plugin again and pasted the code in as you said and it is working now… Thank you for your help.