[Resolved] Layout number of page

Home Forums Support [Resolved] Layout number of page

Home Forums Support Layout number of page

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2245492
    steven

    Hello, I wanted to know if it was possible to have the same

    https://ibb.co/ZT58MNx

    Thanks you

    #2245497
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the page in question?

    You can use the private information field:
    https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    Let me know πŸ™‚

    #2245826
    steven

    of course ;

    #2245855
    David
    Staff
    Customer Support

    Hi there,

    1. You can add this PHP Snippet to change the Next and Previous text to just icons:

    add_filter( 'generate_next_link_text', function() {
        return 'β†’';
    } );
    add_filter( 'generate_previous_link_text', function() {
        return '←';
    } );

    2. Add this CSS for the style:

    .paging-navigation .nav-links {
        display: flex;
    }
    .paging-navigation .nav-links .page-numbers {
        display: block;
        min-width: 40px;
        line-height: 40px;
        text-align: center;
        border: 1px solid #ccc;
        border-radius: 6px;
        margin-right: 5px;
        font-weight: bold;
    }
    .paging-navigation .nav-links a:hover,
    .paging-navigation .nav-links .current {
        background-color: #000000;
        color: #fff;
    }
    #2245907
    steven

    Hi David, how are you ? ! Thanks for your help. It’s working πŸ™‚

    Do you know if it’s possible to remove underline ?

    #2245963
    David
    Staff
    Customer Support

    Really well – thanks for asking πŸ™‚

    Try this CSS to remove the underline:

    .nav-links a {
        text-decoration: none;
    }
    #2246355
    steven

    THanks you david.

    #2247015
    David
    Staff
    Customer Support

    You’re welcome

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