"Easy Sticky Footer"
Bootstrap 3.1.0 Snippet by mrmccormack

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<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>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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 () - 9 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 () - 8 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 () - 9 years ago - Reply 0


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

danigosa () - 9 years ago - Reply 0


so simple yet awsomely usefull .... thank man

Aashish Bijukchhe () - 9 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 () - 9 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 () - 10 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 () - 10 years ago - Reply 0


Thanks f or this @dotstrap

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


Thanks :) very nice

Moin Akbar () - 11 years ago - Reply 0


Thanks!

maxsurguy () - 11 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 () - 11 years ago - Reply 0