Answer the question
In order to leave comments, you need to log in
How to enable slick.js at a specific resolution?
Guys, help me out. There is a slider on the site, the slick.js plugin is used. When the screen is less than 980px you need to turn on slick. I tried to do it through the responsive property, but nothing works. $('.your-slider').slick('unslick') - only works once, alas. Who faced such a problem, how can it be solved?
Answer the question
In order to leave comments, you need to log in
maybe it's easier to turn it on when the window is more than 980?
if($(window).width() >=980){
$('.your-class').slick({
});
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question