How do I add margin top and bottom to swiper-pagination div? #4487
Unanswered
RachelGnanaraj
asked this question in
Q&A
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I am unable to find a way to add margins above and below the swiper pagination div container.
I tried adding this:
.swiper-pagination {
margin-top: 24px !important;
margin-bottom: 24px !important;
}
but still this doesn't work.
Any idea how do i achieve this?
A simple demo: [https://codesandbox.io/s/swiper-pagination-dynamic-forked-00v1i?file=/index.html:1304-1409]
Beta Was this translation helpful? Give feedback.
All reactions