From 43688792d9bb75b4145cc2afd7e42a01ffb4a28a Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 30 Dec 2015 16:15:01 -0500 Subject: [PATCH] changed grid size --- css/app.css | 2 +- js/app.js | 6 ++---- js/custom/upcp.js | 6 ++---- scss/_body.scss | 2 +- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/css/app.css b/css/app.css index 0a50fea..4b7b45f 100644 --- a/css/app.css +++ b/css/app.css @@ -6743,7 +6743,7 @@ body .shadow-wrapper { border-top: 1px solid lightgrey; } .product.grid { - width: 22%; + width: 30%; max-height: 275px; padding: 15px 0px; margin: 10px; diff --git a/js/app.js b/js/app.js index 2d6ace6..f65a61a 100644 --- a/js/app.js +++ b/js/app.js @@ -28,6 +28,7 @@ $(document).ready(function () { var expires = "; expires="+date.toGMTString(); document.cookie = name+"="+value+expires+"; path=/"; } + // createCookie("link", "null"); document.cookie = "catView=grid"; // don't display products on the main "products page" if ((window.location.href.indexOf("products-2") >= 0)){ @@ -119,8 +120,6 @@ $(document).ready(function () { $('#tags a').click(function() { link = $(this).text(); createCookie("link", link); - // $("#tagBox :checkbox").trigger("click"); - }); // get value of clicked tag ///////////////////// function getCookie(cname) { @@ -145,6 +144,5 @@ $(document).ready(function () { $("#tagBox :checkbox:checked").each(function() { $("." + $(this).val()).show(); }); - } - + } }); \ No newline at end of file diff --git a/js/custom/upcp.js b/js/custom/upcp.js index 29ed799..26bba86 100644 --- a/js/custom/upcp.js +++ b/js/custom/upcp.js @@ -8,6 +8,7 @@ $(document).ready(function () { var expires = "; expires="+date.toGMTString(); document.cookie = name+"="+value+expires+"; path=/"; } + // createCookie("link", "null"); document.cookie = "catView=grid"; // don't display products on the main "products page" if ((window.location.href.indexOf("products-2") >= 0)){ @@ -99,8 +100,6 @@ $(document).ready(function () { $('#tags a').click(function() { link = $(this).text(); createCookie("link", link); - // $("#tagBox :checkbox").trigger("click"); - }); // get value of clicked tag ///////////////////// function getCookie(cname) { @@ -125,6 +124,5 @@ $(document).ready(function () { $("#tagBox :checkbox:checked").each(function() { $("." + $(this).val()).show(); }); - } - + } }); \ No newline at end of file diff --git a/scss/_body.scss b/scss/_body.scss index 5164ab5..9864ae8 100644 --- a/scss/_body.scss +++ b/scss/_body.scss @@ -30,7 +30,7 @@ body { } .product.grid{ - width: 22%; + width: 30%; max-height: 275px; padding: 15px 0px; margin: 10px; -- 2.17.1