erkmu Posted November 28, 2022 Share 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! Link to comment
erkmu Posted November 28, 2022 Author Share 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! Link to comment
Ziggy Posted November 28, 2022 Share 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 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? Link to comment
erkmu Posted November 28, 2022 Author Share Posted November 28, 2022 @Ziggy Thank you! That works perfectly. Ziggy 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