[Resolved] Blog Archive Pager Navigation styling

Home Forums Support [Resolved] Blog Archive Pager Navigation styling

Home Forums Support Blog Archive Pager Navigation styling

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #1491732
    Amol Chavan

    How I can style the Blog page archive navigation like this as shown in the image: https://ibb.co/18gQgq0 I need the same as shown the Numbers with round and at the center. Could you please provide the code?

    #1491944
    David
    Staff
    Customer Support

    Hi there,

    can you share a link to your site so i can see what you have so far? Then i can look at the required CSS

    #1492361
    Amol Chavan
    #1492428
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Try adding this:

    .nav-links {
        display: flex;
        justify-content: center;
    }
    
    .paging-navigation .nav-links>* {
        margin: 5px;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        padding: 0;
        text-align: center;
        line-height: 30px;
    }
    
    .page-numbers.prev,
    .page-numbers.next,
    .page-numbers.dots {
        background: none;
        color: initial !important;
        border: 0;
        height: 30px;
        line-height: 30px;
        width: auto;
    }
    #1494171
    Amol Chavan

    Tom, Blog Archive Pager Navigation styling is now appearing at the center of the page which is perfect but there is no circle around it. Also, the Previous text is cropping and going down till the footer.
    Please ref attached image, this after I have added ur code: https://ibb.co/n8RLBRg and this I’m expecting like this https://ibb.co/18gQgq0

    #1494695
    Tom
    Lead Developer
    Lead Developer

    My CSS was in addition to the CSS you were already using to create the circles.

    If you re-add that and then add my CSS, it should work.

    #1498670
    Amol Chavan

    Thanks its working.

    #1498898
    Tom
    Lead Developer
    Lead Developer

    Glad I could help 🙂

    #1566025
    Amol Chavan

    Tom, I found that my on when I go to blog archive page 2,3, 4….and so on the navigation text “Previous” is showing disturbed. It lagging down and overlapping on the footer and also showing in white color. It should display the same as text: Next → Ref: Image: https://ibb.co/MMqqkX4 and Here is the URL of my blog archive https://www.growthfunda.com/blog/page/2/

    #1566299
    Leo
    Staff
    Customer Support

    Edit this existing CSS:

    .page-numbers.next, .page-numbers.dots {
        background: none;
        color: initial !important;
        border: 0;
        height: 30px;
        line-height: 30px;
        width: auto;
    }

    To this:

    .page-numbers.next, .page-numbers.dots, .page-numbers.prev {
        background: none;
        color: initial !important;
        border: 0;
        height: 30px;
        line-height: 30px;
        width: auto;
    }
    #1571724
    Amol Chavan

    It looks ok on Desktop but on Mobile, all numbers and text moved in the right direction. Here is how it looks: https://ibb.co/WDB6VHD

    #1571883
    Leo
    Staff
    Customer Support

    Can you clear and disable your caching plugin first so I can inspect the code better?

    #1572299
    Amol Chavan

    I have disabled the caching plugin as requested. Check now.

    #1572505
    David
    Staff
    Customer Support

    Hi there,

    there simply isn’t enough room for the label and the arrow on the smaller screens.
    You could include this CSS:

    @media(max-width: 460px) {
        #nav-below {
            max-width: 100%;
            box-sizing: border-box;
        }
    
        .page-numbers.next,
        .page-numbers.dots,
        .page-numbers.prev {
            font-size: 0;
            
        }
        .page-numbers.next span,
        .page-numbers.dots span,
        .page-numbers.prev span {
            font-size: 24px;
            padding: 0 8px;
        }
    }

    On small screens it will remove the Next / Previous Labels and just display the arrows.

    #1577247
    Amol Chavan

    Thanks, issue has been resolved

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