indikatordesign

Fixed Divi Footer via jQuery

Jan 22nd, 2017
188
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (function($){
  2.     $(function(){
  3.     "use strict";
  4.  
  5.         $( '#main-content' ).css( { minHeight: 'calc(100vh - ' + $( '#main-footer' ).outerHeight() + 'px)' } );
  6.  
  7.     });
  8. }(jQuery));
RAW Paste Data