<div class="row view">
<?php if ( isset( $products ) && is_array( $products ) ) : foreach ( $products as $product ) : ?>
- <div class="product small-12 columns<?php if ($product->end){ echo ' end';}?>">
+ <div class="product grid small-12 columns<?php if ($product->end){ echo ' end';}?>">
<div class="row">
- <div class="prodImg small-12 columns"><a href="<?php echo $product->href; ?>">
+ <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>
- <div class="subCat small-12 columns">
+ <div class="subCatGrid small-12 columns">
<a href="<?php echo $product->href; ?>"><?php echo $product->term; ?></a>
</div>
- <div class="prodTitle small-12 columns">
+ <div class="prodTitleGrid small-12 columns">
<a href="<?php echo $product->href; ?>"><strong><?php echo $product->post_title; ?></strong></a>
</div>
</div>
<?php if ( isset( $products ) && is_array( $products ) ) : foreach ( $products as $product ) : ?>
<div class="row view">
-<!-- <div class="product small-12 columns<?php if ($product->end){ echo ' end';}?>">-->
+ <div class="product list small-12 columns<?php if ($product->end){ echo ' end';}?>">
- <div class="prodImg small-12 large-4 columns"><a href="<?php echo $product->href; ?>">
- <?php echo get_the_post_thumbnail( $product->ID, array(320, 285)); ?></a>
- </div>
- <div class="subCat small-12 large-4 columns">
- <a href="<?php echo $product->href; ?>"><?php echo $product->term; ?></a>
+ <div class="prodImgList small-12 large-4 columns"><a href="<?php echo $product->href; ?>">
+ <?php echo get_the_post_thumbnail( $product->ID, 'post-thumbnail'); ?></a>
</div>
- <div class="prodTitle small-12 large-4 columns">
+ <div class="prodTitleList small-12 large-4 columns">
<a href="<?php echo $product->href; ?>"><strong><?php echo $product->post_title; ?></strong></a>
</div>
+ <div class="subCatList small-12 large-4 columns">
+ <a href="<?php echo $product->href; ?>"><?php echo $product->term; ?></a>
+ </div>
+
-<!-- </div>-->
+ </div>
</div>
<?php endforeach; endif; ?>