Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
KELBY

Sticky or Freeze Nav in Rally Template

Question

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

Share this post


Link to post

4 answers to this question

Recommended Posts

  • 0

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;
   }

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...