Mastering the Twitter Bootstrap 3 Sticky Footer
Question:
Despite utilizing the Twitter Bootstrap 3 starter template, the sticky footer refuses to adhere to the bottom of the page. What can be the cause?
Answer:
To ensure a sticky footer in Twitter Bootstrap 3, simply incorporate the "navbar-fixed-bottom" class to your footer:
<div class="footer navbar-fixed-bottom">
This alteration guarantees that your footer remains anchored to the bottom of the viewport, regardless of the page length.
The above is the detailed content of Why Isn't My Bootstrap 3 Sticky Footer Sticking?. For more information, please follow other related articles on the PHP Chinese website!