Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Hide Navigation Menu Item in Carson


hrushton

Question

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0

Easy to hid a nav item for the whole site, just put the page in the unlinked section of your website. Hiding that item on certain pages is a bit tricky.

Hide page from Navigation 

add to page where you don't want it in advanced header code injection. 

replace the word contact with the info page url slug. If it happens to be "info" put that there. Hope it works for you. 

<style>
.header-nav [href="/contact"] {
display: none;
}
.header-menu-nav [href="/contact"] {
display: none;
}
<style>
Link to post
  • 0

Hi Derrick, 

Unfortunately that didn't work for some reason. The page that I inserted the code on just goes blank. This is the CSS code that I was using to hide the homepage from specific pages ... would this work for the "info" page as well?

body#collection-5f0f800fa6123d66a75ae516 .nav-item.homepage {
    display: none;
}

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...