adjusting rows and columns for display
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 23 Dec 2015 16:08:08 +0000 (11:08 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 23 Dec 2015 16:08:08 +0000 (11:08 -0500)
views/list_categories.php
views/list_products.php

index 10b4578..50505bc 100644 (file)
@@ -12,9 +12,9 @@
                           <img id="catImg" src="<?php echo z_taxonomy_image_url($term->term_id, 'thumbnail'); ?>" class="image wp-post-image no-display" alt="<?php echo $term->name; ?>" title="<?php echo $term->name; ?>" itemprop="image">
             <?php echo $term->description ?></a>
              <div id="catTitleGrid" class="small-12 columns">
-            <a href="<?php echo $term->href; ?>"> <?php echo $term->name; ?> </a>
-                </div>
-                </div>
+                 <a href="<?php echo $term->href; ?>"> <?php echo $term->name; ?> </a>
+             </div>
+        </div>
                
             </div>
         </div>
index 25d61ac..dac48cc 100644 (file)
@@ -3,7 +3,7 @@
     <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="product grid small-9 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>
@@ -23,8 +23,8 @@
 <?php if($_COOKIE['view'] == "list"){ ?>
    <div id="listView">
     <?php if ( isset( $products ) && is_array( $products ) ) : foreach ( $products as $product ) : ?>
-    <div class="row view">
- <div class="product list small-12 columns<?php if ($product->end){ echo ' end';}?>">
+<!--    <div class="row view">-->
+ <div class="product list small-9 columns<?php if ($product->end){ echo ' end';}?>">
            
                 <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>
@@ -38,7 +38,7 @@
                 
           
        </div>
-        </div>
+<!--        </div>-->
     <?php endforeach; endif; ?>
    </div>
 <?php } ?>