in Web & Tech

Sticky Footer with Omega Theme for Drupal

As I keeping going back and searching the d.o. issue queue for those few lines constantly I’ll put them up here for future reference:

html, body {
  height: 100%;

#page {
  min-height: 100%;
  position: relative;

#section-content {
  padding-bottom: XX;

#section-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: XX;

Pure CSS, no template changes needed, works with Omega right out of the box.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Learn More)