Site logo

Archived topic

Previous and next page text customization

5 replies · Started by Rohan Verma on June 6, 2022

Viewing posts 1–6 of 6

Hello,
Currently, I am showing the next page and the previous page and disabled the numbers in between. But Next and the previous text are very close to each other. I want the Previous to be far left and the next text to be far-right.

Great, it worked. How to underline the Next and previous text?

Hi Rohan,

Here’s a CSS you may try adding:

.wpsp-load-more a.next.page-numbers, .wpsp-load-more a.prev.page-numbers {
    text-decoration: underline;
}

Alternative if you want something bigger:

.wpsp-load-more a.next.page-numbers, .wpsp-load-more a.prev.page-numbers {
    position:relative;
}

.wpsp-load-more a.next.page-numbers:after, .wpsp-load-more a.prev.page-numbers:after {
    content:"";
    position: absolute;
    width: 100%;
    background-color: var(--global-color-10);
    height: 3px;
    bottom: 0;
    left: 0;
    z-index:1000;
}

Hope this helps!

Awesome team.
Thanks for guiding. I have used the following CSS and it worked like a charm. Just changed the underline to dotted.

.wpsp-load-more a.next.page-numbers, .wpsp-load-more a.prev.page-numbers, .nav-links a.next.page-numbers, .nav-links a.prev.page-numbers {
text-decoration: none;
border-bottom: 2.5px dotted #fff;}
}

Thanks again :)

You’re welcome Rohan! :)

This archived topic is closed to new replies.