[Resolved] Instead of 1 2 Next –>, I want just 1 2 3 … 48

Home Forums Support [Resolved] Instead of 1 2 Next –>, I want just 1 2 3 … 48

Home Forums Support Instead of 1 2 Next –>, I want just 1 2 3 … 48

Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #1024506
    Carol

    How to change default post navigation link?

    On Marketer template, it is “1 2 Next β€”>”

    I would like it to be: 1 2 3 … 47

    Thank you.

    #1024510
    Carol

    and centered under post content only (not including sidebar)

    #1024527
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    .nav-links {
        text-align: center;
    }
    a.next.page-numbers, a.prev.page-numbers {
        display: none;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know if this helps πŸ™‚

    #1024554
    Carol

    Thank you very much!

    #1024557
    Carol

    But then when you click on “2” – there is “<β€” Previous 1 2”

    I don’t want that word, “Previous”

    #1024564
    Leo
    Staff
    Customer Support

    Edited the CSS above:
    https://generatepress.com/forums/topic/instead-of-1-2-next-i-want-just-1-2-3-48/#post-1024527

    Can you give it another shot?

    Let me know πŸ™‚

    #1024583
    Carol

    Didn’t work – still see the word Previous

    #1024587
    Leo
    Staff
    Customer Support

    Sorry. Edited the code again.

    Should work for sure.

    Let me know πŸ™‚

    #1025735
    Carol

    Perfect!

    Thank you!

    #1025742
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

    #1026491
    Carol

    I was using the CSSHero to do it, but deactivated the plugin.

    Can the theme do this?

    Thanks in advance.

    #1026494
    Leo
    Staff
    Customer Support

    To do what? Removing the next/previous and center?

    If so my code here should do that already:
    https://generatepress.com/forums/topic/instead-of-1-2-next-i-want-just-1-2-3-48/#post-1024527

    #1026502
    Carol

    I forgot to tell you to look at the image.

    It says to make background a certain color and bold first (current) number and make a certain color…

    #1026505
    Leo
    Staff
    Customer Support

    Try this CSS:

    span.page-numbers.current {
        font-weight: 700;
        color: #00C83B;
    }
    .separate-containers .paging-navigation {
        background-color: #000000;
    }
    #1026513
    Carol

    Okay, that fixed the number color but not the background color.

    Code I have so far:

    .nav-links {
    text-align: center;
    }
    a.next.page-numbers, a.prev.page-numbers {
    display: none;
    }

    span.page-numbers.current {
    font-weight: 700;
    color: #00C83B;
    }

    Can I get the background of that pagination area to be a certain color?

    #FBF9FA

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