I am using Flatsome theme wich includes Flickity slider in his UX builder.
I have set the slider with auto slide (autoPlay: true) and infinite off (wrapAround: false), but it does not stop at the last slide as expected.
I have found this issue in github: https://github.com/metafizzy/flickity/issues/612, but I don’t know how I could implement this in the theme or in the website.
Is there a way to modify flickity behaviour once it is initialized?
I can add some jQuery at the end of the page, but I have not enough knowledge. I have tried different jquery snippets with no result.
Any help would be appreciated.
It sounds like you're choosing the slider options from theme settings on the back end, and they're not functioning the way you expect, is that correct?
The issue in Github appears to be resolved, just looking at the codepen that was included in the issue, but they may not have updated the script in your version of Flatsome. Unlikely, but a possibility.
Modifying the code manually is tricky unless you know how the function is being called, which you'll need to snoop through the theme to find how Flickity is being integrated. Once you know how it's being called, you may be able to use this technique in order to modify the options on the carousel you're creating.
If you are able to modify the carousel's settings, you'll need update the Flickity options to the settings that you'd like.
Answered by Pixelsmith on December 11, 2020
0 Asked on December 3, 2021 by a-hartzet
2 Asked on December 3, 2021 by taberkinslaw
5 Asked on December 1, 2021
3 Asked on December 1, 2021 by paranoia
1 Asked on December 1, 2021 by yves-gonzaga
0 Asked on December 1, 2021 by jimmyneutron666
0 Asked on November 28, 2021 by darth-mikey-d
1 Asked on November 28, 2021 by dhaval-panchal
1 Asked on November 28, 2021
0 Asked on November 28, 2021 by vauneen
2 Asked on November 28, 2021 by appshine
1 Asked on November 26, 2021 by danielradst
Get help from others!