743 posts
  • Elite Author
  • Weekly Top Seller
  • Featured Item
  • Most Wanted Winner
+5 more
Orbital_Themes
says

I was wondering, if and how do you guys do sticky footers in WordPress themes?

the only sticky footer method that I know of is this one, but it requires to pre-set the footer height. Now, given that WP theme users will put any kind of content in footers / various logo sizes etc., the above method won’t work.

How do you do this?

161 posts Can't stop the signal
  • Elite Author
  • Trendsetter
  • Weekly Top Seller
  • Exclusive Author
+5 more
FranklinM2
says

I’ve been looking for something similar myself and so far have’t found anything that can handle dynamic footer heights. Am still looking and experimenting. If I find something I’ll share.

416 posts
  • United States
  • Power Elite Author
  • Trendsetter
  • Top Monthly Author
+8 more
WPExplorer
says

If you want to follow the example on that link but require it to be more dynamic, then set the value of your elements with jquery.

var footerHeight = $('.footer').outerHeight();
$('.wrapper').css({ marginBottom: -footerHeight });
$('.footer, .push').css({height: footerHeight });
by
by
by
by
by
by