made adjustments for a tag box
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 22 Dec 2015 21:01:23 +0000 (16:01 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 22 Dec 2015 21:01:23 +0000 (16:01 -0500)
views/list_products.php

index 5a4e0f1..25d61ac 100644 (file)
@@ -1,11 +1,12 @@
 <?php if(!isset($_COOKIE['view']) || $_COOKIE['view'] == "grid"){ ?>
+
     <div id="gridView" class="row">
     <?php if ( isset( $products ) && is_array( $products ) ) : foreach ( $products as $product ) : ?>
    
         <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>
+                    <?php echo get_the_post_thumbnail( $product->ID, array(320, 285)); ?></a>
                 </div>
                 <div class="subCatGrid small-12 columns">
                     <a href="<?php echo $product->href; ?>"><?php echo $product->term; ?></a>
     <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; ?>">
+                <div class="prodImgList small-12 large-3 columns"><a href="<?php echo $product->href; ?>">
             <?php echo get_the_post_thumbnail( $product->ID, 'post-thumbnail'); ?></a>
                 </div>
-                <div class="prodTitleList small-12 large-4 columns">
+                <div class="prodTitleList small-12 large-3 columns">
                     <a href="<?php echo $product->href; ?>"><strong><?php echo $product->post_title; ?></strong></a>
                 </div>
-                <div class="subCatList small-12 large-4 columns">
+                <div class="subCatList small-12 large-3 columns">
                     <a href="<?php echo $product->href; ?>"><?php echo $product->term; ?></a>
                 </div>