Shopify themes, liquid, logos, and UX
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!
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.
Thanks so much!!! Worked perfectly
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024