Remove Zoom effect in WooCommerce

 Modified Date: 3/11/2022 |  User Level: Regular User |  Views: 116

You will need to be logged into the system as an administrator with writes to customize the theme of your WordPress website. Once you are logged in do the following steps:

  • Click on Appearance
  • Click on Theme File Editor
  • On the right side click on functions.php
  • Scroll to the very end of the document and paste in the code below:

// Disable the Zoom effect within WooCoommerce product pages
add_action('after_setup_theme', 'remove_wc_gallery_zoom', 100);

 function remove_wc_gallery_zoom() {
     remove_theme_support('wc-product-gallery-zoom');
}

  • Click on the button toward the bottom left of the screen that says "Update File" to save your changes.

Digital Marketing Partners We Work With

Fawkes Digital Marketing works with industry leaders to help you grow your business with an emphasis on getting leads and turning potential customers in customers. We strive to continue the education process so that your current customesr stay loyal and become cheerleaders of your brand.