Viewing 3 reply threads
You must be logged in to reply to this topic.
How can I change the icon to enlarge the main pic, its ugly and I cant use it for a production site, I have hid it with css for now.
Hello,
To remove the default product zoom icon, please go to file functions.php and find these lines:
function codeless_woocommerce_setup() {
add_theme_support( 'wc-product-gallery-zoom' );
add_theme_support( 'wc-product-gallery-lightbox' );
add_theme_support( 'wc-product-gallery-slider' );
}
Remove or comment out this line: add_theme_support( 'wc-product-gallery-zoom' );
Best regards!
HI thank you for this! I have moved my site to livesite environment, your suggestion works, but when a person clicks on the big image now it goes to the ligtbox for a second and thene reverts to a page, a issue with the lightbox?
Hello,
No, i made the same edit on my installation and the lightbox works just fine. Did you make any additional change beside this? If you have any third party plugin related to woocommerce, please deactivate them all and try again.
Here is a screen recording of the feature and the same edit: https://drive.google.com/file/d/1AAWLrtDfTAWKwQ3IZPrapNOBXKnIu-Cv/view
Let us know.
Best regards!
You must be logged in to reply to this topic.