Search code examples
sliderslideshowswiper.js

How to make Slider translates left to right in Swiper JS?


I'm trying to work with Swiper Js to make an autoplay slider. But I wanna make a slider that is translated from left to right ( Default Right To Left ).

When I pass attribute reverseDirection everything is going well, but when I try to add pagination and that's what happens, the pagination is the first-child and goes last-child ?

So how can I reverse this pagination or have a solution to make Swiper Slide LTR, thanks for the help.


Solution

  • have you tried reverseDirection: true in autoplay property in Swiper options? That worked perfectly for me.

    enter image description here