Change how hard a user has to swipe across their screen to switch between product pictures?

KimGottwald
Pathfinder
137 0 20

Is it possible to change how hard a user has to swipe across their screen to switch between product images?

 

In my store it feels like you need to swipe "perfect" to switch pictures.

Replies 2 (2)

SocialAutoPost
Shopify Partner
434 59 105

Hi @KimGottwald,

 

Welcome to Shopify community!

 

Yes, it is possible to adjust how hard a user has to swipe to switch between product images in Shopify. This is typically managed by the JavaScript library that handles the image slider on your product pages. By modifying the swipe sensitivity settings in the relevant JavaScript file of your theme, you can make the swipe action more or less sensitive according to your preference.

 

Slick Slider example :

$('.your-slider-class').slick({
  touchThreshold: 10 // Adjust this value for swipe sensitivity
});

 

If you still have any questions, feel free to ask.  

Was the reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution
Auto post your Shopify products to Instagram, Facebook, Pinterest, LinkedIn and Twitter.
App: Social Schedular
KimGottwald
Pathfinder
137 0 20

Could you provide the correct file where I can find the code?

 

I looked through the slideshow.liquid but couldn't find anything.