Deleting row containing previous & next posts

  • Author
    Posts
  • #134826

    tonjac
    Member

    Hello Ben, Very new to CSS. I figured out how to hide the actual links that say “Previous Post” and “Next Post” but the row that houses them is still there, just empty. I can’t figure out the selector to specify for that. Thanks for any help. Tonja

    The blog I need help with is tonja.co.

    #134844

    binarymoon
    Theme Author

    Hi Tonja – thanks for the message.

    It looks like you almost have it right actually. What you need to change is to use display: none instead of visibility hidden.

    Visibility hidden will hide the element but it will take up the same amount of space as it does when it’s visible. Display: none will hide the element entirely, removing the space it takes from the page.

    So – if you use:

    .post-navigation {
    display: none;
    }

    Then the space will close up.

    The top divider that has the little diamond in the middle is part of the taxonomies box (where tags and categories would appear). You may want to hide that as well so that you don’t have two dividers on top of each other. You can do that with:

    .taxonomies {
    display: none;
    }
    #134862

    tonjac
    Member

    Thank you so much! Really enjoying working with this theme.

The topic ‘Deleting row containing previous & next posts’ is closed to new replies.