Products gallery sliding speed reduce sliding speed

This topic has 2 replies, 2 voices, and was last updated 1 year, 6 months ago ago by Rose Tyler

  • Avatar: Abbdul Rahman
    Abbdul Rahman
    Participant
    September 7, 2022 at 07:39

    Hello,

    How can i reduce the speed of images sliding in product page ?

    A link to my product:

    https://stayzahi.ae/product/feathers/

    Thank you

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 7, 2022 at 10:35

    Hello,

    We will add some improvements in the next update and all that you will need to make will be adding the next snippet in
    your child-theme/functions.php

    add_filter('single_product_main_gallery_speed', function() {
    	return 2000;
    }); // 2000ms or another value 

    Example: https://gyazo.com/07de9f4c6134db7feefd5d2c5f1c5876
    The next update will be released within the next 2 days.

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.