Jump to content

Hide some pages in Member Area navigation

Recommended Posts

Site URL: https://themillgym.squarespace.com

Hi, 

I am building multiple member areas for a client. But i don't want to display every page. Basically I am first building a blog page and then linking the blog posts to another page because I can better customise what we are trying to display. So I want all the blog pages in the member area hidden in the navigation. I know I can hide the page like normal but then all the links to the other page get broken.

Does anyone know how I can customise what appears in the navigation?

Thank you

Ryan

Link to comment
  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

24 minutes ago, ryan.sander said:

Site URL: https://themillgym.squarespace.com

Hi, 

I am building multiple member areas for a client. But i don't want to display every page. Basically I am first building a blog page and then linking the blog posts to another page because I can better customise what we are trying to display. So I want all the blog pages in the member area hidden in the navigation. I know I can hide the page like normal but then all the links to the other page get broken.

Does anyone know how I can customise what appears in the navigation?

Thank you

Ryan

What is your protected password?

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 month later...
  • 5 weeks later...
On 3/8/2022 at 7:47 AM, ninnaamora said:

Did you get an answer? I was planning to do the same thing, but saw that the pages were adding to the navigation too. I was told there wasn't a way to have that similar "not linked" section in the member areas. 

Hi no I never got an answer. But as a workaround I used the portfolio section which ended up being a good solution.

Link to comment
  • 10 months later...

 

I found this to work for hiding individual pages from the member nav.

just replace the urlslug with your page's url slug.

You need to do both to work on desktop and mobile nav

 

/*HIDE MENU ITEMS*/

 

.header-nav-list [href="/urlslug”] {

    display: none;

}

.header-menu-nav-list [href="/urlslug”] {

    display: none;

}

Link to comment
  • 1 month later...

I got this to work on my site by injecting code into the Header under SETTINGS/ADVANCED/CODE INJECTION. Replace urlslug with the urlslug of the page you wish to hide.

<style>
/* hide page from member area navigation on desktop */
.header-nav-item--folder [href="/urlslug"] {
   display: none !important;
}
 

/* hide page from member area navigation on mobile */
@media (max-width: 640px) { /* or any other mobile breakpoint */
  .header-menu--folder-list [href="/urlslug"] {
    display: none;
  }
}
  
</style>

Edited by audreyburke
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.