Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Twitter bootstrap dropdown cutoff

I created a fixed navbar with a dropdown menu in it. But the dropdown menu is cutoff and not visible when clicked.

You can see a demo at http://svn.figure8.be/bootstrap/menu.html.

I hope somebody can point me in the right direction.

like image 878
Frederik Heyninck Avatar asked Apr 10 '26 08:04

Frederik Heyninck


2 Answers

In the bootstrap.min.css there is a property called overflow in the .collapse class which is set to hidden. Remove this property and it will work. This is the class the overflow property is located in

.collapse {
position: relative;
height: 0;
overflow: hidden;
-webkit-transition: height .35s ease;
-moz-transition: height .35s ease;
-o-transition: height .35s ease;
transition: height .35s ease;
}

or you can just set it to visible

.collapse {
position: relative;
height: 0;
overflow: visible;
-webkit-transition: height .35s ease;
-moz-transition: height .35s ease;
-o-transition: height .35s ease;
transition: height .35s ease;
}
like image 59
Joel Dean Avatar answered Apr 12 '26 21:04

Joel Dean


Removing the collapse class fixes my problem.

like image 37
Frederik Heyninck Avatar answered Apr 12 '26 23:04

Frederik Heyninck