Bryan Howard
Bryan Howard

Reputation: 47

Woocommerce/Wordpress: Featured Image/Product loading with background image

I'm having a problem with my product image loading with the background image. An example to what Im referring to can be found here https://www.dontcursekids.com/product/not-for-kids-tee-2/ .

I have tried deleting the product image from each individual product (which I'm assuming works the same way a featured image works) and it disappeared from the product's page background. However, it also deletes the thumbnail on the shop page and replaces it with a default picture. I've tried numerous ways with CSS, and several plugins, but I still can't remove it from the background of the product page, and keep my thumbnail of for the preview. ANY help would be greatly appreciated.

Upvotes: 1

Views: 818

Answers (1)

Rob Teeuwen
Rob Teeuwen

Reputation: 475

If you look in the sourcecode on line 233, that's where the background image is set. You can remove that line in inspector (right click -> inspector in firefox/chrome), and you will see that it goes away, which will tell you that this line is the problem. I don't know how this line got there or how you've tried to edit css (through plugins?), but I assume somehow you injected that line of code there, or it could be in your theme files. Either way, this is the line you have to delete.

Upvotes: 1

Related Questions