.header-container { position: sticky; top: -1px; z-index: 100; } .mw-overlays-container .overlay { z-index: 200; } .ve-ui-overlay-global { z-index: 300; }