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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -