Hi I'm using iDangero Swiper on a website I'm doing and for some reason I cant get the responsive break points to work. below is the js I'm using.
var swiper = new Swiper('.s1', {
slidesPerView: 5,
slidesPerColumn: 2,
spaceBetween: 30,
nextButton: '.swiper-button-next',
prevButton: '.swiper-button-prev',
breakpoints: {
1024: {
slidesPerView: 5,
spaceBetween: 30
},
768: {
slidesPerView: 1,
spaceBetween: 10
},
640: {
slidesPerView: 1,
spaceBetween: 10
},
320: {
slidesPerView: 1,
spaceBetween: 10
}
},
});
Any ideas where I'm going wrong