I work in the bootstrap kernel administration structure and has a main heading at the top of the page and then under the heading below it. I am trying to allow the sub header to be fixed at the top of the page when the user scrolls down so that they can always see this information, but I have problems.
The section that I would like to stick to above is as follows.
<div class="area-top clearfix" > <div class="pull-left header"> <h3 class="title"><i class="icon-group"></i>Dashbord</h3> </div> <ul class="inline pull-right sparkline-box"> <li class="sparkline-row"> <h4 class="blue"><span> Cover Designs</span> 4</h5> </li> <li class="sparkline-row"> <h4 class="green"><span> Video Trailers</span> 5</h5> </li> <li class="sparkline-row"> <h4 class="purple"><span> Web Banners</span> 5</h5> </li> </ul> </div>
and I still tried to wrap this in another div using the navbar navbar-fixed-top classes navbar navbar-fixed-top . But it shot at the top and matched the content that you need to see.
I also tried using simple css by adding position:fixed; into the current div, but this will ruin the bread clusters that I have under it, because it takes it out of the stream.
Is there any way to do this with css only. I know I can hack with jquery, but in my team I am only responsible for css.
css twitter-bootstrap
zazvorniki
source share