-
AuthorPosts
-
October 30, 2017 at 3:13 am #870281
After going through the various topics on this forum and indeed searching the net. I find none that will enable this feature.
I am using enfold theme 4.0.5 installed with woocommerce 4.2.1
I have the lightbox modal window set.
I entered images into the gallery on the wordpress page for the product.
I get the images thumbnails under the main feature image.
When I hover over them they do not enlarge and show in the feature image location.
When I click on them they do not show up in a light box or even show up in a window.
I have used below in function.php with and without makes no difference.
————————————————————————–
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’ );
}
—————————————————————————–October 30, 2017 at 6:02 am #870318Hey rinviz,
Have you already attempted disabling all active plugins to ensure that there are no scripting conflicts.
Best regards,
Jordan ShannonNovember 1, 2017 at 12:21 am #871032Yes I had already done this but I did it again during the night Just to make sure.
Rin
November 1, 2017 at 6:10 am #871073I have the same problem now =(
this is my site, not work in the single product the lightboxNovember 1, 2017 at 10:06 pm #871395Hi,
Have you attempted to refer to the following: https://docs.woocommerce.com/document/jquery-cookie-fails-to-load/
Best regards,
Jordan ShannonNovember 1, 2017 at 10:18 pm #871401Hi,
Also if possible, please try contacting the plugin devs, as they may be able to offer additional insight.
Best regards,
Jordan ShannonNovember 2, 2017 at 4:17 am #871510A couple of things.
I think the problem is the gallery is not working properly.
I went to one of my other sites on the same shared hosting account. Installed woocommerce, created a product with feature image and two gallery images. When I went to the website I found that when I placed the mouse pointer over a gallery image it became a hand. when I clicked it the feature image was replace by it. Just as galleries are supposed to work. The only difference between the websites is that I am using a different theme.On the the problem website when I place the mouse pointer over the image it does even become a hand.
Rin.
November 4, 2017 at 8:26 pm #872595Hi,
On your example link, the product gallery images are opening in lightbox for me in Chrome and Firefox, which browser are you using?Best regards,
MikeNovember 5, 2017 at 1:03 am #872643Yes that is because I found out what the problem was yesterday I found that scripts I had put into the quick css wore causing it. I removed all the scrips and put them in the child theme css and it worked OK. haven’t a clue why as I just cut it and pasted without any changes.Light box didn’t work because I had turned it off because the underlining problem was that the gallery wasn’t working. I turned modal on then the light box work fine.
Cheers
Wilf.
November 5, 2017 at 4:44 pm #872767 -
AuthorPosts
- The topic ‘Lightbox not working with woocommerce’ is closed to new replies.