show() jquery function slide down all of my content

I have 2 navbars on my website, when I show() my second navbar all of my content on website is going down width the height of my navbar, how to stop this?

I want just to show navbar on my content (z-index) and don't slide down content after navbar.

What should I do? bottom:-100px; doesn't work.


Answers 1

  • Probably that navbar is not position:absolute try changing the position in the css to be absolute and then it should work

Related Articles