christined1570047695 Posted March 9, 2013 Share Posted March 9, 2013 Can anyone help me with the css to prevent header from displaying on one of my pages?Www.k-interiors.com/deepbranch is the page. Thanks in advance for your help. I have experimented with similar code I found in other posts, and haven't had luck yet... a little clumsy with CSS! Link to comment
subpar Posted March 9, 2013 Share Posted March 9, 2013 You can do this using Page Header Code Injection. Go to your /deepbranch page in the admin and click the 'Page Settings' button. Under the 'advanced' tab, you'll see an editor box for 'Page Header Code Injection'. Adding the following code should hide the header for just that page: <style type="text/css"> #title-area { display: none !important; } </style> Web and mobile developer. Link to comment
christined1570047695 Posted March 9, 2013 Author Share Posted March 9, 2013 Thank you, @subpar, for that quick response. It worked! but I also lost the top nav. What would the selector be to hide the header bar (which contains k.interiors logo) but keep the navigational links above? Thank you! Link to comment
christined1570047695 Posted March 10, 2013 Author Share Posted March 10, 2013 Never mind. Figured it out -- there was some leftover code in my general CSS editor that was hiding my nav. thanks again! Link to comment
Eski52182 Posted March 10, 2013 Share Posted March 10, 2013 In the Aviator template would it be possible to move the header above the navigation on certain pages using the page header code injection? Link to comment
Nick Scola Posted March 10, 2013 Share Posted March 10, 2013 A little tip each page has its own ID number. For your deepbranch page all you have to do is insert this code into your custom css: #collection-50b68580e4b0bff132969518 #title-area { display: none !important; } Squarespace developer since 2007. I create a professional process for each client to ensure that your objectives are met and users are happy. Something I love to embrace. I'm available for hire Get in touch at http://www.nickscola.com or via email at squaretuts@gmail.com Link to comment
Guest Posted May 11, 2016 Share Posted May 11, 2016 Thanks for the assist! Very helpful. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.