From: Anthony Talarico Date: Wed, 19 Sep 2018 13:24:54 +0000 (-0400) Subject: setting min height on the sidebar instead of the page content to prevent it from... X-Git-Tag: v1.0.0^2~23 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=b917e815f05e14c60d2359ad087cb78afdc9e712;p=WP-Themes%2Fcharemisd.git setting min height on the sidebar instead of the page content to prevent it from spilling into the footer --- diff --git a/sections/interior-page.php b/sections/interior-page.php index 020b70f..97df617 100644 --- a/sections/interior-page.php +++ b/sections/interior-page.php @@ -14,7 +14,7 @@ $title = $post->post_title; ?> -
+
diff --git a/sidebar.php b/sidebar.php index 416fbbb..82eb366 100644 --- a/sidebar.php +++ b/sidebar.php @@ -13,7 +13,8 @@ function sizeRow() { var $col = $('.row #main-content'); var height = $col.height(); - $col.siblings('.sidebar-container').height(height + 50); + // $col.siblings('.sidebar-container').height(height + 50); + $col.siblings('.sidebar-container').css("min-height", (height+50) + 'px'); } } $('a[href*=#]:not([href=#])').click(function() {