Home › Forums › Arnold WordPress Theme › How to turnoff or disable autoplay on gallery slider?
- This topic has 4 replies, 2 voices, and was last updated 5 years, 2 months ago by
MoWax.
-
AuthorPosts
-
March 28, 2021 at 3:46 am #24160
Hi,
I did search but I couldn’t find anything. How to turnoff or disable autoplay on gallery slider in Shop product page?
https://theme.seatheme.net/arnold3/product/pattern-design-for-cleaning-cloth-02/Thank you
March 29, 2021 at 3:28 am #24165Hi,
Please go to Appearance>Theme Editor, edit: woocommerce/js/woocommerce.js
update line 22 as:
slideshow: false,
check the screenshot to help you find it: https://www.dropbox.com/s/0h90lznvivq2de4/qq20210329-112731.jpg?dl=0
March 30, 2021 at 5:36 pm #24182Hi,
Thank you. I appreciate it.
I have one last question. How can you make it zoom in or enlarge on this gallery? Because a user may want to see a product in detail. But if it is too complicated to do, then that’s ok. If it’s possible, I would like to request this option in your future update list.
https://theme.seatheme.net/arnold3/product/pattern-design-for-cleaning-cloth-02/Thank you
March 31, 2021 at 6:42 am #24186Hi,
Please follow the 3 steps1.
Please login FTP to remove the 3 files in theme folder /themes/air-theme/ :
/woocommerce/content-single-product.php
/woocommerce/single-product/product-image.php
/woocommerce/single-product/product-thumbnails.phpPS: You can also copy the 3 files from /plugins/woocommerce/template/ folder to child theme folder.
2.
Add the codes in the /themes/arnold/function.php:add_action( 'after_setup_theme', 'yourtheme_setup' ); function yourtheme_setup() { add_theme_support( 'wc-product-gallery-zoom' ); // If you use zoom , un-comment this line. add_theme_support( 'wc-product-gallery-lightbox' ); // If you use lightbox, un-comment this line. add_theme_support( 'wc-product-gallery-slider' ); }PS: You can also add the codes into functions.php of child theme.
3.
Please paste the custom css code to “Appearance > Customize : Additional CSS”.single-product .up-sells.upsells.products, .single-product .related.products, .single-product .tabs-h {clear: both;} .ux-woo-wrap .flex-control-nav {position: static;}
April 1, 2021 at 6:02 pm #24205Thank you! I appreciate for your helps!
-
AuthorPosts
- You must be logged in to reply to this topic.
