I am generally familiar with the technique of flushing a footer using css and this following approach.
But I am having some trouble getting this approach to work for Twitter bootstrap, most likely due to the fact that Twitter bootstrap is responsive in nature. Using Twitter bootstrap I am not able to get the footer to flush to the bottom of the page using the approach described in the above blog post.
Well I found mix of
navbar-inner
andnavbar-fixed-bottom
It seems good and works for me
See example in Fiddle
Use the below class to push it to last line of the page and also make it to center of it. If you are using ruby on rails HAML page you can make use of the below code.
%footer.card.text-center
Pls don't forget to use twitter bootstrapp
For Sticky Footer we use two
DIV's
in the HTML for basic sticky footer effect. Write like this:HTML
CSS
This worked for me perfectly.
Add this class navbar-fixed-bottom to your footer.
I used it like this:
And it sets to bottom over the the full width.
Edit: This will set footer to always visible, it's something you need to take in consideration.
This is the right way to do it with Twitter Bootstrap and the new navbar-fixed-bottom class: (you have no idea how long I spent looking for this)
CSS:
HTML:
The only one that worked for me!: