Search code examples
csshtmlmenubarcss-position

Position:fixed on menu bar - hopefully simple


I am trying to make the top menu bar float at the top of the page here:

http://www.landedhouses.co.uk/

So that when a user scrolls down the menu is still displayed.

Unfortunately adding position:fixed to the CSS doesn't seem to do the trick, various elements still float around. Can anyone point me in the right direction?


Solution

  • just add on style.css

    .strip{
    
    position: fixed;
    z-index:1;
    width:100%;
    }