z-index issue with twitter bootstrap dropdown menu

后端 未结 12 2274
耶瑟儿~
耶瑟儿~ 2020-12-05 09:24

I\'m using twitter bootstrap dropdown menu in a fixed navbar at the top of my page.

It all works fine but am having issues with the drop down menu items showing behi

12条回答
  •  北海茫月
    2020-12-05 09:43

    Ran into the same bug here. This worked for me.

    .navbar {
        position: static;
    }
    

    By setting the position to static, it means the navbar will fall into the flow of the document as it normally would.

提交回复
热议问题