added container for category elements
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 22 Dec 2015 13:45:12 +0000 (08:45 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 22 Dec 2015 13:45:12 +0000 (08:45 -0500)
views/list_products.php

index eece0b0..5a4e0f1 100644 (file)
@@ -20,9 +20,9 @@
 <?php } ?>
 
 <?php if($_COOKIE['view'] == "list"){ ?>
-   
+   <div id="listView">
     <?php if ( isset( $products ) && is_array( $products ) ) : foreach ( $products as $product ) : ?>
-    <div id="listView" class="row view">
+    <div class="row view">
  <div class="product list small-12 columns<?php if ($product->end){ echo ' end';}?>">
            
                 <div class="prodImgList small-12 large-4 columns"><a href="<?php echo $product->href; ?>">
@@ -39,7 +39,7 @@
        </div>
         </div>
     <?php endforeach; endif; ?>
-       
+   </div>
 <?php } ?>