Bootstrap: How to fix (freeze) header with grid saving

Снимок экрана 2016-03-29 в 10.20.48If you would like to fix (or freeze) some div on top (such as header/footer/menu), you should to use "affix" class according to manual. But it conflicts with Bootstrap grid system, so when «fixed position» style activated then it takes the header out of normal flow and the result is that it’s floating to the left! It is really easy to fix by using width: inherit; CSS style in your fixed div.
Продолжить чтение