/* By Lucas Fajger What we needa here! --------------------------- 1.CSS Navbar scroll top class u should style on your own how width are your fixed elements, if they are not witdh from top: 0, left: 0 then we remove left:0; .navbar-scroll-top { position: fixed; left: 0; top: 0; width: 100%; z-index: 9999; } //headroom styles for fixed headers and menus .headroom { transition: transform 200ms linear; z-index: 9998; } .headroom--pinned { transform: translateY(0%); display: block; } .headroom--unpinned { transform: translateY(-100%); display: none; } 2. CLASSES inside tags - required For topBar - ct-topBar
For menu - navbar