How to remove Zoom hover effect

  WooCommerce

Sometimes you may not want to have the zoom hoving effect. Here’s some code you can put in your child theme functions.php file If you don’t know how to do or need assistance, feel free to contact us.

Add following code in your child theme functions.php file:

function remove_image_zoom_support() {
    remove_theme_support( 'wc-product-gallery-zoom' );
}
add_action( 'wp', 'remove_image_zoom_support', 100 );

Reference: https://docs.themeisle.com/article/829-how-to-remove-zoom-hover-effect

LEAVE A COMMENT