Adding logo in front of Bootstrap Navbar -
i trying add logo in front of bootstrap navbar - similar yellow logo on peek.com want on right side of navigation instead.
i using sample template: http://twitter.github.io/bootstrap/examples/hero.html instead of project name, want image there instead. tried adding css logo fixed spot.
.logo-fixed { position: fixed; top: 0; right: 90px; }
i added after body in sample template:
<div class="logo-fixed"><img src="test.png"></a></div>
the logo shows top part of logo displayed behind black navbar. here looks like:
how display in front instead?
set z-index on .logo-fixed:
.logo-fixed { z-index: 2000; ... }
or better, don't have overlap menu bar instead have below setting css top other zero.
Comments
Post a Comment