# Remove the previous and next post link at the bottom of a post

**URL:** <https://colorlibsupport.com/t/remove-the-previous-and-next-post-link-at-the-bottom-of-a-post/7362>\
**Category:** Travelify\
**Created:** [May 8, 2015, 3:00pm UTC](https://colorlibsupport.com/t/remove-the-previous-and-next-post-link-at-the-bottom-of-a-post/7362 "2015-05-08T15:00:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![spespam](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/s/ec9cab/32.png) [@spespam](https://colorlibsupport.com/u/spespam)\
**Post date:** [May 8, 2015, 3:00pm UTC](https://colorlibsupport.com/t/remove-the-previous-and-next-post-link-at-the-bottom-of-a-post/7362/1 "2015-05-08T15:00:50Z")

</div>

I’m sorry because the question had already been asked, and answered, but I can’t manage to make it work.

I would like to remove the previous et next post link at the bottom of a post.

Here is what I did: I pasted the below code under Appearance/theme options/other/custom CSS but it doesn’t work.

```auto
.nav-links {
display: none;
} 

```

---

<div class="post-metadata">

**Author:** ![aigars-silkalns](https://colorlibsupport.com/user_avatar/colorlibsupport.com/aigars-silkalns/32/13469_2.png) [@aigars-silkalns](https://colorlibsupport.com/u/aigars-silkalns)\
**Post date:** [May 13, 2015, 3:46pm UTC](https://colorlibsupport.com/t/remove-the-previous-and-next-post-link-at-the-bottom-of-a-post/7362/2 "2015-05-13T15:46:25Z")

</div>

This code doesn’t work for you because you are using Travelify theme but this one is for either Dazzling or Sparkling theme as it would work for both of them.

For Travelify theme you should use code like this via the same Custom CSS field:

```auto
.single #content ul.default-wp-page {
  display: none;
}

```

Let me know if you need any further assistance.

---

<div class="post-metadata">

**Author:** ![spespam](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/s/ec9cab/32.png) [@spespam](https://colorlibsupport.com/u/spespam)\
**Post date:** [May 14, 2015, 8:03pm UTC](https://colorlibsupport.com/t/remove-the-previous-and-next-post-link-at-the-bottom-of-a-post/7362/3 "2015-05-14T20:03:39Z")

</div>

Thank you. That worked 🙂
