No longer forcing centered. Distinguish header from text through element tags
authorLaury GvR <laury@gaslightmedia.com>
Mon, 2 Feb 2015 18:25:57 +0000 (13:25 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Mon, 2 Feb 2015 18:25:57 +0000 (13:25 -0500)
views/front/showBlocks.php

index b38e3f4..b3e7c9a 100644 (file)
@@ -1,5 +1,5 @@
 <?php foreach ($blocks as $block):?>
-<div class="text-center small-12 medium-12 medium-centered large-uncentered large-4 columns">
+<div class="block small-12 medium-12 medium-centered large-uncentered large-4 columns">
         <?php if($block->url):?>
         <a href="<?php echo $block->url;?>"<?php if($block->externalUrl){echo ' target="_blank"';}?>>
         <?php endif;?>
@@ -7,6 +7,7 @@
         <?php if($block->url):?>
         </a>
         <?php endif;?>
+    <div class="blocks-content">
         <?php if($block->url):?>
         <a class="title-posts" href="<?php echo $block->url;?>"<?php if($block->externalUrl){echo ' target="_blank"';}?>>
         <?php endif;?>
@@ -14,6 +15,7 @@
         <?php if($block->url):?>
         </a>
          <?php endif;?>
-    <?php echo $block->post_excerpt;?>
+        <p><?php echo $block->post_excerpt;?></p>
+    </div>
 </div>
 <?php endforeach;?>
\ No newline at end of file