Force last slide to always be shown by itself #5482
Unanswered
F4T4LERROR
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Not sure if this is possible . . . but I'm using Swiper and on mobile I'm always showing 1 slide per view, but on screens > 1024 pixels wide, I'm showing 3 using responsive breakpoints in the initialization script.
The number of slides is variable, but I was hoping there was some way to always force the last slide to be shown alone. So if there are 6 total slides and you're using a desktop display, you'd see slides: (1,2,3) > (4,5) > (6).
Is this possible? I'd also like the solo slide to always be shown full-with, as it would if the the slidesPerView setting were 1, for that particular slide, rather than 1/3 of the width of the screen.
Any input would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions