Jump to content

Archived

This topic is now archived and is closed to further replies.

Keith Vaugh

[Solved] [Solved] woocommerce lightbox broke

Recommended Posts

Keith Vaugh

@Andrew 

Not sure if you spotted this yet, but woocommerce made some changes in the latest update... As result the lightbox is broken and some CSS issues have arisen... 

I did a search and came across this post

 https://createandcode.com/broken-photo-gallery-and-lightbox-after-woocommerce-3-0-upgrade/

I have implement the php change in my child themes function.php and it appears to work fine

add_theme_support( 'wc-product-gallery-zoom' );
add_theme_support( 'wc-product-gallery-lightbox' );
add_theme_support( 'wc-product-gallery-slider' );

 

Share this post


Link to post
Share on other sites
BentleyD

I am seeing the same issues. I am going to try your fix.

Share this post


Link to post
Share on other sites

×