ComputerWolf / SlickNav

Responsive Mobile Menu Plugin for jQuery
MIT License
939 stars 314 forks source link

Navigation on own level if not positioned at the top. #58

Closed hellomrdavis closed 9 years ago

hellomrdavis commented 10 years ago

First off, great nav. Definitely does what I need it to do. However, how can get the navigation to go over the content when the navigation is not positioned at the top of the screen. You can see where I'm using it here: http://www.tortugamusicfestival.com. Now, I'm using a pinning snippet as well which will add position:fixed to the navigation when it snaps to the top. Unfortunately though, when it's not pinned, it pushes down the content. Any ideas on how to achieve this? Thanks!

ComputerWolf commented 10 years ago

You will need to apply position:absolute to either the menu or the entire navigation to have it appear over content. From the looks of the site you may need to use some javascript to get it properly positioned horizontally.