Answer the question
In order to leave comments, you need to log in
How to add a slider to the mobile version?
Hello!
How to make the blocks become a slider when the screen resolution decreases (for example> 1200)? I want to use Slick.
Help me please.
Here are the blocks.
Answer the question
In order to leave comments, you need to log in
Try like this:
if (window.matchMedia("(max-width: 1200px)").matches) {
$('.happy__row').slick();
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question