Reputation: 1903
I have 6 images inside my slick carousel. They take full width space of the screen but they don't repeat infinitely. To explain it further I mean that I want to use only 6 images and if they skip to the left overtime then they will appear from the right once again and again (They will keep repeating)
Upvotes: 1
Views: 4781
Reputation: 1
in this fiddle the 'slidesToShow' is 6, so please make sure that your owl item is more than slidesToSwow count. So it will automatically working infinite loop option.
Upvotes: 0
Reputation: 11
Are you using bootstrap by any chance? because it has a built in carousel that can infinitely slide. Check out their code and see if you can imitate their logic.
https://getbootstrap.com/examples/carousel/
Edit**
after looking further into it, does this help?
$('.multiple-items').slick({
infinite: true,
});
referenced from: http://kenwheeler.github.io/slick/
I haven't used slick before, but I believe you can set its' infinite property to true. Let me know if that works!
Upvotes: 1