#sp-top-bar { position: absolute; width: 100%; z-index: 2; } #sp-header { position: absolute; top: 0px; } #sp-header.header-sticky { top: auto; }