Answer the question
In order to leave comments, you need to log in
Insert multiple owlcarousel if number not known?
You need to insert several owlcarousels on the page and make them independent.
Here is an example connection code: $('.owl-carousel').owlCarousel();
There can be from 0 to 20 carousels per page.
I see a solution using jqueru .each(), but I don't know how correct it is?
$(".owl-carousel").each(function() {
$(this).owlCarousel();
});
Answer the question
In order to leave comments, you need to log in
Yes that's right.
Two or more carousels (Owl Carousel) on the page can be connected as described here
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question