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

Hide Navigation Bar on only one Page Brine family Template

Question

Hey hi, 

i have seen on the forum the exact same question i'm posting right now but none of the answers work for me so here i am.

I’m trying to remove the navigation bar from a specific page on my maple inn template (brine family). I'v read that i should insert this code :

body#collection-5d58db8548099500014d80bb nav.Header-nav.Header-nav--primary {
   display: none;
}

But it doesn't work. Is there another way to do it or should i modify something in the code ?

Thx in advance for your help ! 

 

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 0

The code you have should work, but if you want me to take a look please share a link (and pwd if needed) to your website.

/* HIDE THE PRIMARY NAVS */
#collection-5d58db8548099500014d80bb .Header-nav--primary {
   display: none!important;
}

/* HIDE THE PRIMARY AND SECONDARY NAVS */
#collection-5d58db8548099500014d80bb .Header-nav {
   display: none!important;
}

 

Share this post


Link to post
  • 0

Thank you so much to both of you !

Here are some more precisions about the way to do it :

1/ Each page has a specific collection number, so if you want to hide the navigation bar on a specific page, go on this page and find the page's collection number

2/ Replace the collection number in the following code by yours

#collection-5dcedd5eb702913cebc23c32 .Header-nav {
   display: none!important;
}

3/ Insert the code in DESIGN > CUSTOM CSS

4/ If you need to hide your navigation bar on several pages, follow the first 3 steps for each page. Your custom CSS window will look like this 

#collection-5dcd70869ea30043a7d107f7 .Header-nav {
   display: none!important;
}
#collection-5dcd7c15efe0ea08ad8167ac .Header-nav {
   display: none!important;
}
#collection-5dcedd5eb702913cebc23c32 .Header-nav {
   display: none!important;
}

 

👋🏻

Share this post


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...