Reply 231170 to: How do I remove the lightbox on a single product page?

Avatar: Rose Tyler
Rose Tyler
Support staff
March 12, 2020 at 15:36

Try to change the previous code to:

.single-product .pswp {
    display: none;
}

Or you can activate the Single product page builder in Theme Options > WooCommerce (Shop), then you will be able to build the desired layout from scratch. The gallery element has option to disable Lightbox there.

Regards

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.