Background for WooCommerce product

Hello, I want to add a background only for woocommerce products.

I found a plugin for this issue but it´s not updated for a long time.

This time have no link cause my client wants a pw on the site untill it´s finished. But think there´s anyway no need for a link.

Is there a css solution?

I found this code but it seems to be for the products overview.

 body.post-type-archive-product { 
      background-image: url("http://yoursite.com/path/to/image.jpg"); 
      background-position: center center; 
      background-size: cover; 
      background-repeat: no-repeat; 
      background-attachment: fixed; 
    }

I need a solution directly on the product page.

Thanks!

Hello there,

Try this code:

body.woocommerce-page,
body.post-type-archive-product { 
  background-image: url("http://yoursite.com/path/to/image.jpg"); 
  background-position: center center; 
  background-size: cover; 
  background-repeat: no-repeat; 
  background-attachment: fixed; 
}

Let me know how it goes.

Regards,
Kharis
aThemes Support