Adding position attribute to a div makes it disappear

Hey all!

So I’ve been encountering a small issue with my code wherein when I try to add a fixed or absolute position to a div it completely disappears (which actually serves as a header for the page). Any idea of what may be the cause of this? I can link the code if need be!