Answer the question
In order to leave comments, you need to log in
Slick, multiple sliders with the same class?
there are 6 tabs, and each tab has its own slider. I created the same structure and gave the same class for each slider, which I then tied to slick in js
<div class="wrapper">
<div class="tab">
<div class="slider"></div>
</div>
<div class="tab">
<div class="slider"></div>
</div>
<div class="tab">
<div class="slider"></div>
</div>
<div class="tab">
<div class="slider"></div>
</div>
<div class="tab">
<div class="slider"></div>
</div>
<div class="tab">
<div class="slider"></div>
</div>
</div>
$('.slider').slick({
infinite: true,
slidesToShow: 3,
slidesToScroll: 3
});
Uncaught TypeError: Cannot read property 'add' of null
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question