Skip to content Skip to sidebar Skip to footer

Change How Slides Are Displayed In Swiper Js

i used swiper js slider in my project.i need to know can i change default slide of my slider or not.forexample my slides are slide1 slide2 slide3 Etc and in my page swiper js showe

Solution 1:

As per documentation all you need to do is add an extra parameter initialSlide which defaults to 0 (0-index) and set the index you want,

so your case this would be 1.

    spaceBetween: 0,
    initialSlide: 1,
    slidesPerView: 3, // or 'auto'

Post a Comment for "Change How Slides Are Displayed In Swiper Js"