Vajna Botond

Online Portofolio

Woocommerce product gallery opacity issue

Issue:

In single-product.php when using the_content(); the woocommerce-product-gallery div have the opacity set to: 0.

Solving:

add_action( 'after_setup_theme', 'yourtheme_setup' );

    function yourtheme_setup() {
        add_theme_support( 'wc-product-gallery-zoom' );
        add_theme_support( 'wc-product-gallery-lightbox' );
        add_theme_support( 'wc-product-gallery-slider' );
    }

reference:

https://yootheme.com/support/question/109928