From: Anthony Talarico Date: Fri, 18 Dec 2015 16:40:28 +0000 (-0500) Subject: adjusting grid view height X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=80e5c1733e4463157ff30de7aedbd8c12c5199e7;p=WP-Themes%2Fmichsci.git adjusting grid view height --- diff --git a/css/app.css b/css/app.css index 066a5c0..069ec16 100644 --- a/css/app.css +++ b/css/app.css @@ -6731,7 +6731,7 @@ body .shadow-wrapper { .prodImgGrid { text-align: center; padding-bottom: 10px; - min-height: 275px; } + min-height: 175px; } .prodTitleGrid { text-align: left; @@ -6748,7 +6748,7 @@ body .shadow-wrapper { .product.grid { width: 22%; - min-height: 380px; + min-height: 250px; padding: 15px 0px; margin: 10px; border: 1px solid white; } diff --git a/functions.php b/functions.php index 37a59c5..2e58685 100644 --- a/functions.php +++ b/functions.php @@ -191,7 +191,7 @@ function glm_site_scripts() 'glm_foundation', get_template_directory_uri() . '/js/app.js', 'jquery', - '1.0', + '1.0.1', true ); if(is_front_page()) { diff --git a/js/app.js b/js/app.js index adc0a04..9533199 100644 --- a/js/app.js +++ b/js/app.js @@ -21,7 +21,6 @@ $(document).ready(function () { ;/*global document, window, alert, console, require*/ $(document).ready(function () { "use strict"; - $("#list").on("click", function (e) { document.cookie = "view=list"; location.reload(); diff --git a/js/custom/upcp.js b/js/custom/upcp.js index 56f7d92..55ba6da 100644 --- a/js/custom/upcp.js +++ b/js/custom/upcp.js @@ -1,12 +1,9 @@ /*global document, window, alert, console, require*/ $(document).ready(function () { "use strict"; - $("#list").on("click", function (e) { document.cookie = "view=list"; location.reload(); - - }); $("#grid").on("click", function (e) { diff --git a/scss/_body.scss b/scss/_body.scss index b6646bb..f9b5177 100644 --- a/scss/_body.scss +++ b/scss/_body.scss @@ -16,7 +16,7 @@ body { .prodImgGrid{ text-align: center; padding-bottom: 10px; - min-height: 275px; + min-height: 175px; } .prodTitleGrid{ text-align: left; @@ -33,7 +33,7 @@ body { } .product.grid{ width: 22%; - min-height: 380px; + min-height: 250px; padding: 15px 0px; margin: 10px; border: 1px solid white;