removed row from grid view
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 18 Dec 2015 19:07:58 +0000 (14:07 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 18 Dec 2015 19:07:58 +0000 (14:07 -0500)
views/list_products.php

index 6ace6b1..808d7b4 100644 (file)
@@ -1,9 +1,9 @@
 <?php if(!isset($_COOKIE['view']) || $_COOKIE['view'] == "grid"){ ?>
-    <div class="row view">
+    <div class="row">
     <?php if ( isset( $products ) && is_array( $products ) ) : foreach ( $products as $product ) : ?>
-    
-        <div class="product grid small-12 medium-3 large-4 columns<?php if ($product->end){ echo ' end';}?>">
-            <div class="row">
+   
+        <div class="product grid small-12 medium-4 columns<?php if ($product->end){ echo ' end';}?>">
+
                 <div class="prodImgGrid small-12 columns"><a href="<?php echo $product->href; ?>">
             <?php echo get_the_post_thumbnail( $product->ID, array(320, 285)); ?></a>
                 </div>
@@ -13,7 +13,7 @@
                 <div class="prodTitleGrid small-12 columns">
                     <a href="<?php echo $product->href; ?>"><strong><?php echo $product->post_title; ?></strong></a>
                 </div>
-            </div>
+            
         </div>
     <?php endforeach; endif; ?>
         </div>