[Resolved] Style the Post Navigation Like This

Home Forums Support [Resolved] Style the Post Navigation Like This

Home Forums Support Style the Post Navigation Like This

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2343281
    Willya

    Hi,

    I want to make the previous button on the far left side and next on the far right side, while the navigation number stays in the middle. Is this possible to do?

    I have shared a screenshot to make it easier for you to understand what I mean.

    Thank you

    #2343290
    Fernando
    Customer Support

    Hi Willya,

    Can you share the link to the site in question?

    You may use the Private Information field for this: https://docs.generatepress.com/?s=private+information

    #2343291
    Willya

    Sorry, I forgot to share the link. I’ve add the link to private information form.

    #2343294
    Fernando
    Customer Support

    Try adding this CSS:

    .nav-links {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    a.prev.page-numbers {
        margin-right:auto;
    }
    
    a.next.page-numbers {
        margin-left:auto;
    }
    #2343295
    Willya

    Thank you. It works!

    Ah, one more question. Can we add space/padding between the numbers of pagination?

    #2343298
    Fernando
    Customer Support

    You’re welcome!

    You can try this:

    a.page-numbers {
        padding: 0 10px !important;
    }
    #2343307
    Willya

    Thank you Fernando. You are the best!

    #2343309
    Fernando
    Customer Support

    You’re welcome Willya!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.