Last active
August 29, 2015 14:25
-
-
Save FMCorz/add9d2d1c604144ef81b to your computer and use it in GitHub Desktop.
Sticky footer for Moodle with Bootstrap 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body, | |
html { | |
height: 100%; | |
padding-top: 0; /* Revert default padding for navbar */ | |
} | |
.wrapper { | |
min-height: 100%; | |
margin-bottom: -150px; /* Negative footer minimum height */ | |
} | |
.wrapper::after { | |
content: ""; | |
display: block; | |
min-height: 150px; /* Footer minimum height */ | |
} | |
#page-footer { | |
box-sizing: border-box; | |
margin: 0; | |
min-height: 150px; /* Footer minimum height */ | |
} | |
#page { | |
padding-top: 60px; /* Bootstrap Navbar height */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment