Jump to content

Hide a nav item from mobile version only

Recommended Posts

2 hours ago, AltitudeDesign said:

I have the code for removing from desktop and showing on mobile only but the reverse doesn't seem to work for hiding a nav item from mobile nav?

 


@media(max-width: 768px) {
.header-nav-item--folder:nth-of-type(2) {
    display: none !important;
}
}

 

what is your site url so we can provide code for the template

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
2 hours ago, AltitudeDesign said:

Url is https://chancesschool.squarespace.com and pass is “preview” 

im on 7.1

thanks so much 

image.png.c1a6bd17000c3e3df962c25f9e0a84dc.png

.header-menu-nav-list [data-folder="root"] .header-menu-nav-folder-content > div:nth-child(1) {
  display: none !important;
}

You made a good site with blob animation

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
  • 1 year later...
  • 1 year later...
On 5/25/2023 at 12:28 PM, CrumpetClubhouse said:

Hello! Can you tell me what I need to do to hide a page in the desktop nav but have it show on mobile nav? I see some code above but don't know what it means or does! Cheers 🙂

If you use SS 7.1, you can use this code

div.header-nav-item:nth-child(3) {
	display: none;
}

This will hide nav item 3 from left to right

Do similar with other items.

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

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.