-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Navigation buttons for slider in vertical direction #3592
Comments
Any updates with this? Ideally when the |
@Joshanity17: You can try the CSS I posted, it should place the arrows at the top and bottom and visually flip them in vertical directions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. If this issue is still actual, please, create the new one. |
It appears that there are still no vertical-direction style navigation buttons, or am I missing a module or stylesheet? New styles for Swiper .swiper-vertical .swiper-button-next,
.swiper-vertical .swiper-button-prev {
left: 50%;
transform: rotate(90deg);
transform-origin: left center;
}
.swiper-vertical .swiper-button-prev {
top: calc(var(--swiper-navigation-size) / 2);
}
.swiper-vertical .swiper-button-next {
top: auto;
bottom: calc(var(--swiper-navigation-size) / 2);
} Edit: According to this demo, there are no vertical style navigation buttons in |
This seems too obvious to be missing...? |
@DrMoshtael: I agree, this should be added to swiper as default or extra styles (vertical module). |
Looks like you'll need to re-create this issue as it's gone stale |
@DrMoshtael: I made a PR that references/(correctly) closes this issue: #7429 |
Awesome, thank you! |
@nolimits4web: Could this be eventually revisited in the near future? |
This is a (multiple allowed):
SASS for having navigation buttons at the top and bottom
(and pointing up- and downwards) for a slider in vertical direction:
Hm, the transform rotation makes it a bit difficult to position. The arrows are slightly offset.
The text was updated successfully, but these errors were encountered: