BVCH Posted March 12, 2020 Share Posted March 12, 2020 Site URL: http://collaborativeperformance.org Hi fellow Squarespace users 🙂 On our website we are currently using sticky navigation, so the navigation follows when scrolling on our page. I would really like to change that to a normal navigation that goes away when scrolling down, BUT that appears again when you, anywhere on the site, scroll back up just a tiny bit (not scroll all the way to the top). Unfortunately I haven't been able to google my way to a solution Does anyone know how to accomplish this? :-) Link to comment
tuanphan Posted March 12, 2020 Share Posted March 12, 2020 It calls: scroll up effect It needs JavaScript + CSS to solve. You need a Business Plan or higher. Some guide https://medium.com/@mariusc23/hide-header-on-scroll-down-show-on-scroll-up-67bbaae9a78c https://webdesign.tutsplus.com/tutorials/how-to-hide-reveal-a-sticky-header-on-scroll-with-javascript--cms-33756 or Google: jquery scroll up header Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
jdillagodzilla Posted May 21, 2020 Share Posted May 21, 2020 @tuanphan I'm in 7.1 and can't figure out how to do this for the life of me! I read both articles but really couldn't make heads or tails of how to translate for SS.  Link to comment
tuanphan Posted May 22, 2020 Share Posted May 22, 2020 2 hours ago, jdillagodzilla said: @tuanphan I'm in 7.1 and can't figure out how to do this for the life of me! I read both articles but really couldn't make heads or tails of how to translate for SS.  Edit Site Header > Style > Position: Fixed - Style: Scroll up Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
jdillagodzilla Posted May 22, 2020 Share Posted May 22, 2020 @tuanphan 🤯🤯🤯 wow, thank you!! Any idea how to get rid of the underline and few pixels of white space as well? here is my code for the header:  header#header { border: 4px solid #000; } .header-nav { padding: 10px; }  site: https://tarantula-calliope-fl4m.squarespace.com/ pass: squarespace Link to comment
tuanphan Posted May 22, 2020 Share Posted May 22, 2020 Remove this code header#header { border: 4px solid #000; } and replace with .header-announcement-bar-wrapper { border: 4px solid #000; }  Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
jdillagodzilla Posted May 22, 2020 Share Posted May 22, 2020 @tuanphan thank you!!!!!!! Link to comment
Asiya Posted October 14, 2020 Share Posted October 14, 2020 On 5/22/2020 at 4:41 PM, tuanphan said: Remove this code header#header { border: 4px solid #000; } and replace with .header-announcement-bar-wrapper { border: 4px solid #000; } Â Â Hello @tuanphan I would like the CSS to hide the header/navigation on my website once someone starts scrolling down. It always stays at the top. here's the url: www.jeffwalkerphotography.com Link to comment
tuanphan Posted October 16, 2020 Share Posted October 16, 2020 On 10/14/2020 at 11:29 PM, Asiya said:  Hello @tuanphan I would like the CSS to hide the header/navigation on my website once someone starts scrolling down. It always stays at the top. here's the url: www.jeffwalkerphotography.com Add to Home > Design > Custom CSS div#headerWrapper { position: absolute !important; }  Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Asiya Posted October 16, 2020 Share Posted October 16, 2020 11 hours ago, tuanphan said: Add to Home > Design > Custom CSS div#headerWrapper { position: absolute !important; } Â Thank you so much for your response Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.