I am building a website and I am using the Slick carousel for some sliders. I run into an issue where I have it set up with 3 slides and the option to show two rows if there are more than 3 slides, however, when there are 3 slides only it shows them in two rows for some reason. Here is a JSFiddle demonstrating it.
Here is the JavaScript code:
var slickOptions = {
slidesToShow: 3,
slidesToScroll: 3,
rows: 2,
dots: true,
arrows: false,
dotsClass: 'slick-dots slick-dots-black',
adaptiveHeight: true,
};
$('#slides').slick(slickOptions);
I tried googling the issue but can't find a solution.
Any ideas?