Floating menu CSS

  • Author
    Posts
  • #994273

    Hi,

    I am just wondering if there is a way to make the menu remain at the top of the page, even if the person scrolls down to the bottom of the page? Hope that makes sense. Thanks :)

    The blog I need help with is oceansidehospice.com.

    #994427

    Yes. You can use fixed positioning for that. Here is a basic example you can start with:

    #access {
    	position: fixed;
    	top: 0;
    	left: 0;
    	z-index: 99;
    }
    
    .logged-in #access {
    	top: 28px;
    }

The topic ‘Floating menu CSS’ is closed to new replies.