Jump to content

How to hide navigation elements on desktop but show on Mobile

Go to solution Solved by Web_Solutions,

Recommended Posts

Hello, On the homepage I have "Portraits, Fashion,  Corporate Work & Milestones" in the navigation. I want them to show up on mobile for the hamburger option etc. But I don't want them to be displayed on the desktop version. On the desktop version I only want "Bio & Design" to be on the navigation.

Any help with this would be greatly appreciated. 

Screenshot 2023-10-12 at 9.38.26 AM.png

Link to comment
1 minute ago, RianW said:

Hello, On the homepage I have "Portraits, Fashion,  Corporate Work & Milestones" in the navigation. I want them to show up on mobile for the hamburger option etc. But I don't want them to be displayed on the desktop version. On the desktop version I only want "Bio & Design" to be on the navigation.

Any help with this would be greatly appreciated. 

Screenshot 2023-10-12 at 9.38.26 AM.png

Can you share your website URL?

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment
  • Solution
4 minutes ago, RianW said:

 

Add these code on Custom CSS panel in Website Utilities Website Tools > Custom CSS.

.header-display-desktop .header-nav-list .header-nav-item:nth-child(1n+3) {
  display: none !important;
}

 

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

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.