By using Elementorforum.com’s services you agree to our Cookies Use and Data Transfer outside the EU.
We and our partners operate globally and use cookies, including for analytics, personalisation, ads and Newsletters.

  • Join the Best Unofficial Elementor Support forum

    Provide or get advice on everything Elementor and Wordpress, ask questions, gain confirmation or just become apart of a friendly, like minded community who love Wordpress and Elementor


    Join us!
elementor official

Remove Zoom On Hover For Products

c062785

c062785

New Member
I'm trying to make our site really simple and clean and the zoom function is really annoying for the products...

Does anyone know how to remove the magnifying glass and the 'hover zoom' effect for the product?

Thanks!

Chris
 

Attachments

  • Screen Shot 2021-08-20 at 8.18.36 PM.png
    Screen Shot 2021-08-20 at 8.18.36 PM.png
    591.8 KB · Views: 4
E

elementor-tww

New Member
Add the code to the function.php of your child theme. Not tested, but i think it works.
From: https://github.com/woocommerce/woocommerce/issues/15006
When using the following code to remove the zoom feature, the magnifying icon also gets removed:
add_action( 'after_setup_theme', 'remove_pg_zoom_theme_support', 100 );
function remove_pg_zoom_theme_support() {
remove_theme_support( 'wc-product-gallery-zoom' );
}
Andreas
 

Latest posts

Latest Resources

Other Elementor Resources

elementor official
Top