Issue with header visibility

Hey guys,

I’m having a issue with my custom header. I created 2 bars, one of which is visible on bigger screens (“navbar desktop”), and one on mobile (“navbar mobile”). They are set to be sticky on top. On a large screen, there is no problem. On mobile, the “navbar desktop” is set to display:none and the “navbar mobile” appears. However, the mobile navbar doesn’t stick to the top, but sticks below the desktop navbar (which isn’t visible), so I have a gap. I can’t get rid of it. Any idea on how to fix that?



Of course, after posting I managed to fix it :grin:

I just made one bar where the elements have a display set, instead of a complete bar.

Glad to know you were able to figure it out. Have a nice day!