dimanche 19 avril 2015

Sticky navbar doesnt work properly

enter image description hereWhen i scroll the sticky navigation bar stick to top but what i want is the width not to overflow.The left side doesn't over flow but the right one does and fixed to right.Can you guide me?


Here is the code:


.navbar-default.affix { box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.1); position: fixed;

top: 0; width: 100%; z-index:15; }


Aucun commentaire:

Enregistrer un commentaire