Product images opening in _BLANK

In my shop, images are opening in blank, and when people close that screen, they are actually closing the whole website. Thats horrible, and I need to fix that asap. Any thoughts?

Hello there,

Try adding this snippet into a child theme’s functions.

    function cali_child_wc_support() {
      add_theme_support( 'wc-product-gallery-zoom' );
      add_theme_support( 'wc-product-gallery-lightbox' );
      add_theme_support( 'wc-product-gallery-slider' );
    }
    add_action( 'after_setup_theme', 'cali_child_wc_support' );

If you aren’t running any child theme, alternatively you can apply that code with the Code Snippets plugin.

Regards,
Kharis

That worked great, with the code snippet, but now my thumbnails are pushing outside the page. see how they are floating over the description and review buttons? https://theeyewearforum.com/product/suncover-rudolph/

Hello there,

I inspected your product’s gallery section. There is CSS script conflict with the Rich Web Slider widget. This could be easily fixed with the below CSS code:

    .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs {
      position: static;
    }

Add it to Appearance > Customize > Additional CSS from dashboard.

Regards,
Kharis

you are amazing, thanks!

You’re welcome!

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

Regards,
Kharis