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.
Adjusting swipe sensitivity for product image galleries on Shopify product pages. The goal is to make switching images require less “perfect” swipes on touch devices.
Key points:
Status: Unresolved. The asker needs guidance on where in their theme’s JS the slider is initialized to change the sensitivity setting.
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.
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.
Could you provide the correct file where I can find the code?
I looked through the slideshow.liquid but couldn’t find anything.