Jump to content
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' );

 

Edited by Keith Vaugh (see edit history)
  • Like 1

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×