How can I style the "/" between the pagination fractions? #6057
-
Hello, I need to be able to change the "/" between the pagination fractions to a "|" to follow our company designs. I inspected the element but it appears the "/" is between Is there any way at all I can target that slash so that I can change it? Or can I insert a custom pagination component somehow? I am working with React / NextJS. Thanks so much for any suggestions. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found a solution at this link https://github.com/nolimits4web/swiper/issues/3855#issuecomment-827943545 useSwiperRef.js
And credit to @Banjer71 for their solution which I adapted too:
|
Beta Was this translation helpful? Give feedback.
I found a solution at this link https://github.com/nolimits4web/swiper/issues/3855#issuecomment-827943545
useSwiperRef.js
const [paginationEl, paginationRef] = useSwiperRef()
And credit to @Banjer71 for their solution which I adapted too: