JoshAH Posted September 23 Share Posted September 23 Site URL: https://attractivehomephotography.com/ I am trying to remove the top header of a page. I am using the FIVE template. I have tried adding the code that I was shown by the chat help in a forum listing (added below). However it didn't work. Please let me know if anyone has a different answer div#navigation-top { display: none; } nav#mobile-navigation { display: none !important; } Link to comment
Lesum Posted September 23 Share Posted September 23 @JoshAH Hi! Are you trying to remove the header from a specific page on your site? You can add the following code under Website > Pages > Website Tools > Custom CSS. This will remove the header only on the homepage. You'll need to replace the collection ID in the code with the one for the page where you want to remove the header. #collection-59a07cfe3e00be934906c315 div#navigation-top { display: none; } @media screen and (max-width: 640px) { #collection-59a07cfe3e00be934906c315 #mobile-navigation { display: none; } } If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
JoshAH Posted September 23 Author Share Posted September 23 Thank you, I tried it and it didn't work. The header is still there. https://attractivehomephotography.com/test2 #collection-58af64323e00be5cc4591459 div#navigation-top { display: none; } @media screen and (max-width: 640px) { #collection-58af64323e00be5cc4591459 #mobile-navigation { display: none; } } Link to comment
Lesum Posted September 23 Share Posted September 23 @JoshAH collection ID of the page you mentioned is #collection-66f1c06f79ddb0402ee82b63 You added #collection-58af64323e00be5cc4591459 If you add the right collection ID, it should work. If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
JoshAH Posted September 23 Author Share Posted September 23 That worked Thank you for your help/ Link to comment
molshtein Posted 13 hours ago Share Posted 13 hours ago (edited) @Lesum I would like to remove the header on the homepage as well. I am on a trial site now, i used the code above and replaces with my page's collection id, but it seems to do nothing. https://seahorse-mouse-h28k.squarespace.com/home Edited 7 hours ago by molshtein 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