F
F
freshik3122017-11-17 17:56:36
Owl Carousel
freshik312, 2017-11-17 17:56:36

Question about owl carousel?

Already searched everything, found nothing. Maybe I didn't search well.
I want to make several sliders through the owl carousel, but if I change

spoiler
$(document).ready(function(){
        $('.owl-carousel').owlCarousel({
            items: 1,
            loop: true,
            autoplay: true,
            autoplaySpeed: 2000,
            autoplayTimeout: 5000,
        });
    });

on (block name)
spoiler
$(document).ready(function(){
        $('.my').owlCarousel({
            items: 1,
            loop: true,
            autoplay: true,
            autoplaySpeed: 2000,
            autoplayTimeout: 5000,
        });
    });

nothing works. wanted to do so
spoiler
$(document).ready(function(){
        $('.owl-carousel').owlCarousel({
            items: 1,
            loop: true,
            autoplay: true,
            autoplaySpeed: 2000,
            autoplayTimeout: 5000,
        });
        $('.owl-carousel:nth-child(3)').owlCarousel({
            items: 4,
        });
    });

didn't work either, what should I do?
In fact, I want to make several different sliders.
ps js i dont know

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question