Update style for image
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 31 Oct 2017 15:24:56 +0000 (11:24 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 31 Oct 2017 15:24:56 +0000 (11:24 -0400)
Trying to get the image correctly sized.

sections/landing-page.php

index 125f9d3..1612603 100644 (file)
@@ -56,8 +56,8 @@
                ?>
 
                 <div id="<?php the_ID(); ?>" class="text-center small-12 medium-4 columns large-text-left glm-block">
-                       <a href="<?php echo get_permalink($id); ?>">
-                        <img class="child-image" src="<?php echo $image_data[0]; ?>" />
+                       <a class="glm-block-title" href="<?php echo get_permalink($id); ?>">
+                        <img src="<?php echo $image_data[0]; ?>" />
                        </a>
                     <a class="glm-block-title" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><h1><?php the_title(); ?></h1></a>
                 </div>