Tagged: Lightbox, woocommerce
Hi,
I have installed the Magic Zoom plugin, to zoom my image products in WooCommerce.
How can I remove the entire lightbox functionality, please? (The ‘hover’ arrow on blue background, and also so the ‘click-ability’).
Thank you!
Hi,
Can you post the link to your website please?
Regards,
Josue
Site is still under development, here’s a preview of a product page with the Magic Zoom plugin enabled:
http://www.bjornholland.com/product/badland-hoodoos/
Hi!
Add this code to the Quick CSS:
.MagicZoom .image-overlay {
display: none !important;
}
Best regards,
Josue
Works great – thank you very much!
Is it possible to also make it impossible to “click” the image, so the lightbox doesn’t open.
Hi!
I don’t think that would be possible because the Magic Zoom plugin uses that hyperlink in order to work, so disabling it would disable that too:
a.MagicZoom{ pointer-events: none; }
Cheers!
Josue
Hi!
Open up enfold/js/avia.js and replace
avia_responsive_menu();
with
avia_responsive_menu();
jQuery('.single-product-main-image .images a').find('img').unwrap();
Cheers!
Peter
Thanks very much, Peter!