I am currently exploring Flickity and its functionality. I have a carousel that auto-plays, with the selected cell always placed in the middle and highlighted with a grey background. However, I would like to customize it so that the selected cell is positioned to the left, above the dots in desktop view.
Does this description make sense? You can also check out the jsfiddle for a visual reference. My initial approach involves using jQuery to locate the previous sibling of the "is-selected" class and apply a specific style to it. But I was wondering if there is an easier way to achieve this.
Thank you in advance for any insights or suggestions!
<div class="carousel-outer-flick">
<div class="carousel-cell"></div>
<div class="carousel-cell"></div>
<div class="carousel-cell is-initial-select"></div>
<div class="carousel-cell"></div>
<div class="carousel-cell"></div>
</div>