Dropdown is behind content
I'm making a dropdown for my navbar but it's appearing behind the content, I event gave it z-index of 1000 nothing changed. I didn't even give z-index to that content I've no idea what's happening. Codepen link below
https://codepen.io/Arslan-Akbar/pen/qBJKyZj
2 Replies
It is related to the sticky position that your header has.
If you give your header a z-index of 2 the drop-down nav should work.
Got it, Thank you. 💛