walrusk
4/21/2014 - 7:20 PM

subcatgridfix.diff

diff --git a/template/Styles/styles.css b/template/Styles/styles.css
index 0cf3af4..cba5cae 100644
--- a/template/Styles/styles.css
+++ b/template/Styles/styles.css
+.subcat-grid li {
+   width: 20%;
+   padding: 0 20px 20px;
+   margin: 0;
+   text-align: center;
+ }
+.subcat-grid li img {
+   display: inline-block;
+   max-width: 100%;
+   max-height: none;
+ }
+.subcat-grid li:nth-child(5n+1) {
+   clear: both;
+ }
 
diff --git a/template/js/template.js b/template/js/template.js
index 6222e40..f085184 100755
--- a/template/js/template.js
+++ b/template/js/template.js
@@ -13,6 +13,9 @@ function windowWidth() {
 	return winWidth;
 }
 
+// REMOVE ROW DIVIDERS
+$('.subcat-grid .RowDivider').remove();
+
 $(document).ready(function(){
 	// TOOLTIPS - clear empty
 	$('.empty-tip').each(function(){if($(this).attr('title') == "") $(this).replaceWith($(this).html());});