hi there,

our team needs to add a stikcy footer with 100% width on the bottom of the page, so we went ahead, seems like the change is not much, here's the code.

at the end of page.tpl.php, add

<footer class="footer_bottom">
  <?php print render($page['footer_bottom']); ?>
</footer> 

add css

.footer_bottom {
  background: none repeat scroll 0 0;
  border: 0 none;
  bottom: 0;
  min-height: 70px;  /* NOTE: can be removed */
  position: fixed;
  text-align: center;
  width: 100%;
  z-index: 9;
}
.footer_bottom section.block {
  margin:0;
  padding: 1px 19px;
}

add a new region to subtheme.info

regions[footer_bottom]  = 'footer_bottom'
CommentFileSizeAuthor
#1 Screen shot 2013-04-15 at 1.04.36 PM.png82.86 KBbusla

Comments

busla’s picture

StatusFileSize
new82.86 KB

It offsets 1 span.

I´m using bootswatch. The grey div is my footer.

markhalliwell’s picture

Version: 7.x-3.x-dev » 7.x-2.x-dev
Component: User interface » Documentation
Status: Active » Fixed

Considering this is for a specific use case, I'm marking this as documentation and fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

change some caption for css