Nadushae Posted March 31, 2023 Share Posted March 31, 2023 I want to hide certain navigation links on a certain pages, but when I code into the page-header-code-injection, all the colors on that page disappear. (buttons, shapes, and backgrounds) Link to comment
Ziggy Posted March 31, 2023 Share Posted March 31, 2023 What code are you using? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com ☕ Did I help? Buy me a coffee? 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) Link to comment
Nadushae Posted March 31, 2023 Author Share Posted March 31, 2023 Hi! I'm using the below style: <style> .header-nav-item:nth-child( # ) { display : none; } <style> Link to comment
Ziggy Posted March 31, 2023 Share Posted March 31, 2023 The problem is probably the error in the closing style tag, it's missing the / Should be this: <style> .header-nav-item:nth-child( # ) { display : none; } </style> Leaving HTML tags unclosed correctly is normally the problem when pages suddenly stop rendering correctly. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com ☕ Did I help? Buy me a coffee? 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 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