Hi there,
the image you are using as main product image is too small in order to provide a zooming feature. You have to increase the size of it in: Customizer > WooCommerce > Product images > Main image width
The image in question is 992 x 878 which is larger than the 500 setting I have for the product image window. Sorry to disagree but all my existing images worked before.
How can I disable the hover zoom function altogether?
Thanks in advance.
John
Update; I found the following code pasted into functions.php to disable the hover/zoom function:
function remove_image_zoom_support() {
remove_theme_support( ‘wc-product-gallery-zoom’ );
}
add_action( ‘wp’, ‘remove_image_zoom_support’, 100 );
> How can I disable the hover zoom function altogether?
If you want to disable zooming, you don’t need that custom code.
You can also use theme settings:
Dashboard > Appearance > Customize > WooCommerce > Single product page > Product image
and set to NO the features you don’t need
Thanks for the reply. Unfortunately, I can find no option to disable hover zoom in the customize path that you provided. Only the following variables are available.
-Main image width
-Image size used for the main image on single product pages. These images will remain uncropped.
500
-Thumbnail width
-Image size used for products in the catalogue.
300
-Thumbnail cropping
1:1
-Images will be cropped into a square
Custom
-Images will be cropped to a custom aspect ratio
Uncropped
-Images will display using the aspect ratio in which they were uploaded
You are in the wrong panel.
To see these options you have to go to:
Dashboard > Appearance > Customize > WooCommerce > Single product page > Product image
Please note that these settings are for Proteo, you can’t find them on another theme.
Here a screenshot of the panel:
https://prnt.sc/uzugle
Oops! Found the correct path! Thank you!
Happy to help 🙂
If you like Proteo, our work and commitment into help you please help this theme with a nice review!
I’m setting this ticket as solved, but don’t hesitate to come back with a new request if you need further help