KELBY Posted November 20, 2019 Share Posted November 20, 2019 Hi there, I am looking for some custom CSS to add into the Rally template to freeze my navigation at the top of the screen. Thanks Kelsi Link to comment
AThompson_social Posted November 20, 2019 Share Posted November 20, 2019 this is what I put in and it works for me! /*sticky nav https://forum.squarespace.com/topic/142732-brinekeene-sticky-navigation/#comment-184292*/ Header { position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; } // fix mobile nav .Mobile-bar--top { position: fixed; top: 0; left: 0; right: 0; background: #173d56; } .Mobile-bar { position: fixed; z-index: 99999; } // move mobile overlay down .Mobile-overlay-menu-main { padding-top: 80px; } Link to comment
KELBY Posted November 20, 2019 Author Share Posted November 20, 2019 THANK YOU. I will try it out when it's time and let you know! Appreciate it! Link to comment
KELBY Posted November 20, 2019 Author Share Posted November 20, 2019 Hey - this worked on my Index pages but none of the other pages on my website. Any fixes? Kelsi Link to comment
AThompson_social Posted November 20, 2019 Share Posted November 20, 2019 Header { position: fixed ; top: 0 ; left: 0 ; right: 0 ; } Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.