<?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>