Jump to content

Hiding some links in mobile hamburger

Recommended Posts

Site URL: https://www.covidlonghaulers.com/

I have a need to hide certain items from the mobile hamburger menu, as I have done in the desktop view. However the code to hide from desktop doesn't currently translate to mobile.  Could you help me fix this? I'm using 7.1.

The pages that need to be hidden are currently turned off but will be turned online soon. Here's the website:  https://www.covidlonghaulers.com/

Heres' the code I'm using to turn off some links in the desktop:
 

<style>
  .header-nav-item:nth-child( 1 ) {
      display : none;
        }
  .header-nav-item:nth-child( 3 ) {
      display : none;
        }
  .header-nav-item:nth-child( 5 ) {
      display : none;
        }
  .header-nav-item:nth-child( 7 ) {
      display : none;
        }
  .header-nav-item:nth-child( 9 ) {
      display : none;
        }
  .header-nav-item:nth-child( 11 ) {
      display : none;
        }

   
  </style>

 


Thank you!

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

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.