[Resolved] Changing post navigation align next and previous

Home Forums Support [Resolved] Changing post navigation align next and previous

Home Forums Support Changing post navigation align next and previous

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1608403
    Atefan

    Hello,
    i try to aline the next and previous link, on post.

    i used this code

    .post-navigation {
        display: flex;
    }
    
    .nav-previous {
        margin-right: auto;
    }
    
    .nav-next .next:before {
        display: none;
    }
    
    .nav-next .next:after {
        font-family: GeneratePress;
        content: "\f105";
        text-decoration: inherit;
        position: relative;
        margin-left: .6em;
        width: 13px;
        text-align: center;
        display: inline-block;
        -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        line-height: 1;
        speak: none;
    }

    from this post here
    but it leaves a missing error icon on the right.

    any idea?

    #1608633
    Leo
    Staff
    Customer Support

    Hi there,

    Looks like you are using SVG icons option so can you try this code instead?
    https://docs.generatepress.com/article/inline-post-navigation/#icon-type-svg

    Let me know ๐Ÿ™‚

    #1608772
    Atefan

    Perfect!
    Thank you

    #1608781
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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