h6dub Posted December 4, 2022 Share Posted December 4, 2022 Hey there, My website is created using the Carson template. In this template the header disappears when you scroll down a page but re-appears as soon as you scroll even slightly back up. Is there some CSS code I can use that would mean the header disappears when scrolling down but only reappears when you get back to the very top of the page? Many thanks in advance! Link to comment
tuanphan Posted December 7, 2022 Share Posted December 7, 2022 Hi, You mean this template? https://carson-demo.squarespace.com/ Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
h6dub Posted December 7, 2022 Author Share Posted December 7, 2022 Hey tuanphan, Hmm, no that doesn't look quite right. A member of squarespace help team mentioned that my website was the Carson demo, but perhaps that was incorrect. Here's the website I'm talking about: http://www.mcgregorcasting.com/ Any help would be greatly appreciated! Link to comment
creedon Posted December 7, 2022 Share Posted December 7, 2022 Carson is a member of the Tremont template family. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
h6dub Posted December 7, 2022 Author Share Posted December 7, 2022 Thanks, creedon. Any thoughts about getting the header to disappear when scrolling down but only reappear when you get back to the very top of the page? Link to comment
creedon Posted December 8, 2022 Share Posted December 8, 2022 Quote Any thoughts about getting the header to disappear when scrolling down but only reappear when you get back to the very top of the page? Thoughts but not a solution. The effect you are seeing is being handled by DOM Events (scroll) and JavaScript which then manipulate DOM elements and CSS. So there is no simple CSS solution. The header has at least two scripts being triggered by scroll events. One for the header hide/show and the other I have no idea. An overall solution would involve disabling SS's header effect and creating some new JavaScript to do what you want. I don't see this being an easy one as there are interactions between SS's event code and manipulating the header element. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. 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