I am facing an issue with my slider that I cannot seem to resolve.
Currently, I am using slick to display 3 slides, but only the center one shows all the content. To achieve a continuous infinite slider effect where all slides appear in the center, I need to clone the slides when there are only 3 present.
$('.center').slick({
centerMode: true,
centerPadding: '0px',
slidesToShow: 3,
slidesToScroll: 1,
dots: false,
focusOnSelect: true,
adaptiveHeight: true
});
Here is an example with enough slides: https://jsfiddle.net/f580ys4b/1/
And here is an example with only 3 slides: https://jsfiddle.net/f580ys4b/2/