Last active
August 2, 2022 15:06
-
-
Save andreescocard/7423128449f0461e907193a592e4c21c to your computer and use it in GitHub Desktop.
slick carousel 2 slides mobile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$( document ).ready(function() { | |
setTimeout(function(){ | |
$('.js-carousel-plp-bra2').slick({ | |
infinite: false, | |
dots: false, | |
autoplay: false, | |
arrows: false, | |
slidesToShow: 5, | |
slidesToScroll: 1, | |
responsive: [ | |
{ | |
breakpoint: 1025, | |
settings: { | |
slidesToShow: 4.5, | |
} | |
}, | |
{ | |
breakpoint: 426, | |
settings: { | |
slidesToShow: 1.5, | |
} | |
} | |
] | |
}); | |
}, 2000); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment