html - Bootstrap 3 navbar-fixed-top stay fixed in mobile view -
this may bug or bad coding. i've built website using twitter bootstrap 2.3.* , found no problem, responsive function. problem came when tried switch bootstrap 3.rc-2 latest stable release (according wikipedia). have tried examples contained in download, , had same result when tried resize viewport.
please have @ http://bootply.com/69863 example, , try resize window browser click render view, , try expand menu , scroll page.
my real question how make fixed navbar static when in mobile (collapsible) view?
.navbar-fixed-top
keeps navbar fixed top screen sizes now. default. when take @ navbar.less see no media queries applied on class too.
to make navbar static after collapse add css shown below after boostrap css:
@media (max-width: 767px) /* @grid-float-breakpoint -1 */ { .navbar-fixed-top { position: relative; top: auto; } }
Comments
Post a Comment