Shopify themes, liquid, logos, and UX
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.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024