"Easy Sticky Footer"
Bootstrap 3.1.0 Snippet by mrmccormack

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!-- Sticky footer example by Mr. M. - Confederation College - IMD Program Based on tutorial from: http://www.coders-guide.com/watch.php?v=53 --> <div class="navbar navbar-inverse navbar-static-top"> <div class="container"> <a href="#" class="navbar-brand">Mr. M.'s Sticky Footer Example </a> <button class="navbar-toggle" data-toggle="collapse" data-target=".navHeaderCollapse"></button> <div class="collapse navbar-collapse navHeaderCollapse"> <ul class="nav navbar-nav navbar-right"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Blog</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Social Media</a> <ul class="dropdown-menu"> <li><a href="#">Twitter</a></li> <li><a href="#">Facebook</a></li> <li><a href="#">Google+</a></li> <li><a href="#">Instagram</a></li> </ul> </li> <li><a href="#">About</a></li> <li><a href="#">Contact</a></li> </ul> </div> </div> </div> <div class="container"> <h2>Mr. M.'s Sticky Footer Example</h2> <div class="well well-sm"> <p> <span class="label label-warning">Important Note</span> <br> To see this working, <strong>you must open JUST the file without Bootsnip's "View full screen" feature </strong>. <br><br> <a href="http://bootsnipp.com/iframe/V24R" target="_blank">http://bootsnipp.com/iframe/V24R</a> </p> </div> <div class="row marketing"> <div class="col-lg-6"> <p> <img src="http://farm9.staticflickr.com/8083/8430638774_f7a7e83b7f_n.jpg" alt="sticky bun flickr.com" class="img-responsive img-rounded center-block"> </p> </div> <div class="col-lg-6"> <h4>Subheading</h4> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam leo neque, hendrerit et magna ut, viverra consectetur augue. Lorem ipsum dolor sit amet, consectetur adipiscing elit. </p> </div> </div> </div> <div class="navbar navbar-default navbar-fixed-bottom"> <div class="container"> <p class="navbar-text pull-left">© 2014 - Site Built By Mr. M. <a href="http://tinyurl.com/tbvalid" target="_blank" >HTML 5 Validation</a> </p> <a href="http://youtu.be/zJahlKPCL9g" class="navbar-btn btn-danger btn pull-right"> <span class="glyphicon glyphicon-star"></span>  Subscribe on YouTube</a> </div> </div>

Related: See More


Questions / Comments:

PLEASE I MAKE ONE WEBSITE I CAN TO "copy" YOURS CODES FROM "BootSnipp" ??? AND PUT IN MY SITE ? - I can change it to my default Skin ???

Jürgen Weichert () - 8 years ago - Reply -1


i have issue in my website date time input field. my website URL is https://www.gtscab.co/

Dipupaul () - 4 years ago - Reply 0


This is not "Sticky Footer", this is bottom-fixed footer. Sticky footer must stick to bottom is viewport if it's not full-filled and scroll down when page is bigger than viewport.

For exmaple: http://getbootstrap.com/exa...

23W () - 7 years ago - Reply 0


Im using the same method, but my issue is that the footer is placed over page content on smaller screen size. Is there a way to prevent this...i have tried quite a few solutions but none of them have worked for me. Thanks in advance for the help!

Rex Charles () - 8 years ago - Reply 0


Just add on the previous container (the one holding page content): style="margin-bottom: 60px;"
It solved my issue.

danigosa () - 8 years ago - Reply 0


so simple yet awsomely usefull .... thank man

Aashish Bijukchhe () - 8 years ago - Reply 0


If you add a row around the (footer) navbar's text/button/contents it will fix the spacing thats on the left and right

YarWelcome () - 8 years ago - Reply 0


this is very usefully web design work>>>>>>>>>>>>>>>>>>>>>>>>>
thank for all

seralkhatem () - 9 years ago - Reply 0


Cool Man

Monkey D Luffy () - 9 years ago - Reply 0


Thanks

Agung Pambudi () - 9 years ago - Reply 0


Great piece dotstrap - thanks very much for sharing. I'm trying to get it to apply to just some buttons in my ul but at having trouble doing so. Could you help?

Chris () - 9 years ago - Reply 0


Thanks f or this @dotstrap

J-542- () - 10 years ago - Reply 0


Thanks :) very nice

Moin Akbar () - 10 years ago - Reply 0


Thanks!

maxsurguy () - 10 years ago - Reply 0


Welcome.
I just adjusted the icon: ".ds-btn li a i { margin-top: 5px;}"

I think it would be more useful if buttons will be "ul li" independant. You can't use buttons without "ul li".

Moin Akbar () - 10 years ago - Reply 0