buura Posted November 24, 2022 Share Posted November 24, 2022 Hi. I have 2 navigation items and 2 pages. In each page, I have to hide one navigation item. How can I do this? Link to comment
buura Posted November 24, 2022 Author Share Posted November 24, 2022 <style> .header-nav [href="/contact"] { display: none; } .burger-box { visibility: hidden; } </style> with this code, I made it happen. But this time, some spaces appeared in hidden items. how can I remove that spaces? Its disturbing because there is also two more nav item and I can see that spaces between them. Link to comment
Ziggy Posted November 24, 2022 Share Posted November 24, 2022 Can you share your website URL? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? Link to comment
buura Posted November 24, 2022 Author Share Posted November 24, 2022 4 minutes ago, Ziggy said: Can you share your website URL? I didn't publish it yet and it's trial, still can share it? Link to comment
Ziggy Posted November 24, 2022 Share Posted November 24, 2022 You can add a site wide password and then share your URL and the password: https://support.squarespace.com/hc/en-us/articles/205815528-Site-wide-passwords Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? Link to comment
Solution Ziggy Posted November 24, 2022 Solution Share Posted November 24, 2022 Yes, that extra space is irritating! Your current method, although better in many ways to just target the link HREF, I can't seem to work that to hide the entire space, this may work better at hiding the space, using :nth-child(2) and :nth-child(3) to hide the 2nd and 3rd like this: <style> .header-nav-item:nth-child(2) { display: none; } </style> buura 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? Link to comment
buura Posted November 24, 2022 Author Share Posted November 24, 2022 13 minutes ago, Ziggy said: Yes, that extra space is irritating! Your current method, although better in many ways to just target the link HREF, I can't seem to work that to hide the entire space, this may work better at hiding the space, using :nth-child(2) and :nth-child(3) to hide the 2nd and 3rd like this: <style> .header-nav-item:nth-child(2) { display: none; } </style> Ziggy, thank you very much. This one is perfect! Ziggy 1 Link to comment
Ziggy Posted November 24, 2022 Share Posted November 24, 2022 Just now, buura said: Ziggy, thank you very much. This one is perfect! No problem! Can you mark my post as the solution and give it a thumbs up? Thanks! Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? Link to comment
MDS Posted April 2 Share Posted April 2 Can I create a different navigation on a password-protected area of my website? Link to comment
tuanphan Posted April 5 Share Posted April 5 On 4/3/2023 at 3:03 AM, MDS said: Can I create a different navigation on a password-protected area of my website? Yes. Possible. But you will need to add code manually to all password protected page. What is your site url? 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
MDS Posted April 8 Share Posted April 8 On 4/4/2023 at 10:02 PM, tuanphan said: Yes. Possible. But you will need to add code manually to all password protected page. What is your site url? mlpha.org is the site address. I'm setting up an interactive, password-protected page for a location-only experience. Once on the private page, the public navigation is not applicable so a separate navigation or no navigation would be better. 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