Autoplay Flickity Gallery Slider

VBQX
Tourist
4 0 1

Hello, 

We have a gallery on our homepage, with 2 pictures. 

This gallery turns into a slider on mobile, and we are struggling to make it autorotate, so the images slide automatically without grabbing them. 

Here is our website url : http://atelier-doravante.myshopify.com
Password : Dessein19129410!

 

Thanks a lot for your help!

Replies 2 (2)

marcoswata
Shopify Partner
122 10 35

I hope you are familiar with coding. The simplest way here would be something like:

1. go to theme.liquid and replace theme.min.js with theme.js

2. find assets/theme.js and locate this code: 

cellSelector: ".gallery__item",

Then right below that line, add:

autoPlay: 2000,

That will make the slideshow change slides every 2s (2000ms). If you want it slower, then increase that number, and if you want it faster, decrease that number.

If my answer was helpful then please Like and Accept Solution 🙂
If you need help with design, development or marketing your store, contact me!
VBQX
Tourist
4 0 1

Thanks so much!!! Worked perfectly