html - Bootstrap Affix Problems: Adds Top Margin -


i have affix sidebar wich enables after data-offset-top="360" thing when affix enabled, sidebar doesn't keep it's place , gets top margin.

here code using:

<div class="col-md-4" class="page-sidebar">                 <div data-spy="affix" data-offset-top="360" data-offset-bottom="0">                 <ul class="nav nav-pills nav-stacked nav-categories">                   <li role="presentation"><a href="#">telefoane mobile, tablete si laptopuri <span class="badge">0</span></a></li>                   <li role="presentation"><a href="#">pc, componente si periferice <span class="badge">0</span></a></li>                   <li role="presentation"><a href="#">tv, audio, foto si gaming <span class="badge">0</span></a></li>                   <li role="presentation"><a href="#">electrocasnice <span class="badge">0</span></a></li>                   <li role="presentation"><a href="#">casa, gradina si bricolaj <span class="badge">0</span></a></li>                   <li role="presentation"><a href="#">sport si activitati <span class="badge">0</span></a></li>                   <li role="presentation"><a href="#">auto si moto <span class="badge">0</span></a></li>                   <li role="presentation"><a href="#">jucarii, copii si bebe <span class="badge">0</span></a></li>                   <li role="presentation"><a href="#">animale de companie <span class="badge">0</span></a></li>                 </ul>                 </div>             </div> 


Comments

Popular posts from this blog

SVG stroke-linecap doesn't work for circles in Firefox? -

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -