ryan.sander Posted January 19, 2022 Share Posted January 19, 2022 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
Beyondspace Posted January 19, 2022 Share Posted January 19, 2022 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? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
ryan.sander Posted January 20, 2022 Author Share Posted January 20, 2022 Thanks for the reply. Unfortunately my client won't let me share the password. Although I don't really think it is necessary. I just want to know how I can hide certain pages in the navigation in member areas. Thank you Ryan Link to comment
ninnaamora Posted March 7, 2022 Share Posted March 7, 2022 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. Link to comment
ryan.sander Posted April 7, 2022 Author Share Posted April 7, 2022 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
abicon Posted February 14, 2023 Share Posted February 14, 2023 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
audreyburke Posted April 9, 2023 Share Posted April 9, 2023 (edited) 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 April 9, 2023 by audreyburke caskiier 1 Link to comment
ChristinaDean Posted February 21 Share Posted February 21 Can someone please help me with this? It was working, glitched, and now is not working at all. I'm trying to hide about 8 pages within the membership page. When I use this code, it is breaking the formatting throughout the site/header/announcement bar, etc. https://burgundy-helicon-pgby.squarespace.com/ Link to comment
tuanphan Posted February 24 Share Posted February 24 On 2/22/2024 at 4:55 AM, ChristinaDean said: Can someone please help me with this? It was working, glitched, and now is not working at all. I'm trying to hide about 8 pages within the membership page. When I use this code, it is breaking the formatting throughout the site/header/announcement bar, etc. https://burgundy-helicon-pgby.squarespace.com/ Where did you add the code? If you use <style> code into Custom CSS box, it will cause syntax error and all current CSS will stop working Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
jallory Posted March 10 Share Posted March 10 Hi, none of this is working for me... Looking to hide a course from the members area navigation... Any ideas? Thanks! Link to comment
tuanphan Posted March 14 Share Posted March 14 On 3/11/2024 at 2:43 AM, jallory said: Hi, none of this is working for me... Looking to hide a course from the members area navigation... Any ideas? Thanks! Can you share link to site & let me know which item you want to hide? We can check easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
jallory Posted March 14 Share Posted March 14 12 hours ago, tuanphan said: Can you share link to site & let me know which item you want to hide? We can check easier @tuanphan https://www.wiseheartpdx.org/member-site-home I would like to hide all of the 32 courses that say "Couples Part 1: _____," "Couples Part 2: _____," "Couples Part 3: _____," and "Couples Part 4: _____." Thanks for your help 🙏 Link to comment
tuanphan Posted March 17 Share Posted March 17 On 3/15/2024 at 2:39 AM, jallory said: @tuanphan https://www.wiseheartpdx.org/member-site-home I would like to hide all of the 32 courses that say "Couples Part 1: _____," "Couples Part 2: _____," "Couples Part 3: _____," and "Couples Part 4: _____." Thanks for your help 🙏 Can you take a screenshot? Or I think you will need to provide a test/a free account to access member navigation.. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
jallory Posted March 20 Share Posted March 20 @tuanphan Hi, thank you ~ there is a free sign up option on the page https://www.wiseheartpdx.org/member-site-home Also, here is a screenshot Link to comment
jallory Posted March 20 Share Posted March 20 ...also, I want them not to show on the account menu (attached) Link to comment
tuanphan Posted March 25 Share Posted March 25 On 3/21/2024 at 12:42 AM, jallory said: @tuanphan Hi, thank you ~ there is a free sign up option on the page https://www.wiseheartpdx.org/member-site-home Also, here is a screenshot You can use this code to Website > Website Tools > Custom CSS a.header-nav-folder-title[href*="85e7b"]+div>div:nth-child(n+19) { display: none; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
jallory Posted March 25 Share Posted March 25 (edited) @tuanphan Thank you so much for your help ~ I feel hopeful seeing that this is possible 🙏 However, I do need nth child 19, 28, 37, and 46 to be visible. The rest >19 I want to hide. Can you please help with adjusting the CSS for this? I tried on my own but was unsuccessful... Edited March 25 by jallory Link to comment
tuanphan Posted March 27 Share Posted March 27 On 3/25/2024 at 11:05 PM, jallory said: @tuanphan Thank you so much for your help ~ I feel hopeful seeing that this is possible 🙏 However, I do need nth child 19, 28, 37, and 46 to be visible. The rest >19 I want to hide. Can you please help with adjusting the CSS for this? I tried on my own but was unsuccessful... Use this a.header-nav-folder-title[href*="85e7b"]+div>div:nth-child(n+19) { display: none; } a.header-nav-folder-title[href*="85e7b"]+div>div:nth-child(19), a.header-nav-folder-title[href*="85e7b"]+div>div:nth-child(28), a.header-nav-folder-title[href*="85e7b"]+div>div:nth-child(37), a.header-nav-folder-title[href*="85e7b"]+div>div:nth-child(46) { display: block !important; } jallory 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
jallory Posted March 28 Share Posted March 28 Thank you so very much! This worked 🙏🙏🙏🙌🥳 tuanphan 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment