css - Fixed Bootstrap navbar disappearing with 768 x 1024 view -
i downloaded bootstrap azy responsive 1 page template , cannot fixed navbar stay @ top of screen 768 x 1024 (ipad - portrait) resolution. remains fixed @ top others 240 x 320 1024 x 768.
i've created fiddle: http://jsfiddle.net/b2sw6/
i tried using didn't work:
.navbar-fixed-top { position: fixed; right: 0; left: 0; z-index: 1030; top: 0; }
if drag center divider bar across approx. 768px width see black navbar scrolls rest of page instead of remaining in place @ top.
does have hints on how update css correct this?
you have small fix. add position:fixed;
.navbar-fixed-top in mediaqueries 979px.
change
@media (max-width: 979px){ .navbar-fixed-top { margin-bottom: 0px; } }
with
@media screen , (max-width: 979px){ .navbar-fixed-top { margin-bottom: 0px; position: fixed; } }
good luck.
Comments
Post a Comment