erkmu Posted November 28, 2022 Posted November 28, 2022 Hi there, I am setting up a blog page that I want to be a standalone entity that doesn't include the navigation bar and header thumbnail that typically appear on my website. I have been able to successfully hide these elements by adding the following code in Settings > Advanced > Page Header Code Injection: <style>header, footer, mobile-bar {display:none !important; } </style> But when I visit the page on mobile, the elements return. Is there a modified version of the code that will successfully hide them on this blog page (without making them disappear from the other pages on my website)? Thanks for your help!
erkmu Posted November 28, 2022 Author Posted November 28, 2022 Sorry — should have added: you can view the blog page in draft form at ericmutrie.com/advent And the rest of my site for context lives at ericmutrie.com Thanks again!
Ziggy Posted November 28, 2022 Posted November 28, 2022 Adjust your page code injection: <style> header, footer, .mobile-bar-wrapper {display:none !important;} </style> erkmu 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
erkmu Posted November 28, 2022 Author Posted November 28, 2022 @Ziggy Thank you! That works perfectly. Ziggy 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment