Jump to content

Hide mobile menu item on a single page

Recommended Posts

I'm trying to hide three nav links in the mobile menu, but only on a single page. 

When a user is on the page "Home Copy," I want to hide the following nav links. "Home, Home Copy, Whiskey Run Series"

The following code works to hide my links on desktop, but not on mobile. Please help!

I'm using Squarepace 7.0 with the Brine template. Here's a link to my site. 

www.runrhino.run

<style>
.Header-nav-item:nth-child(1)  {
visibility: hidden !important;
}
  .Header-nav-item:nth-child(2) {
visibility: hidden !important;
}
    .Header-nav-item:nth-child(3) {
visibility: hidden !important;

</style>

 

Thank you!!

Link to comment
  • Replies 3
  • Views 537
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

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


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.