I took out the small-12 class with the main content
authorIan Weller <ian@gaslightmedia.com>
Mon, 24 Apr 2017 13:24:44 +0000 (09:24 -0400)
committerIan Weller <ian@gaslightmedia.com>
Mon, 24 Apr 2017 13:24:44 +0000 (09:24 -0400)
I took out the small-12 class with the id main-content.  I realized it
would be bad html if I just tookout the conditonal template variable.

parts/main-content.php
sections/interior-page.php

index 5a9ccd0..1c66d19 100644 (file)
@@ -1,4 +1,4 @@
-            <div id="main-content" class="small-12 columns">
+            <div id="main-content">
                 <?php if(have_posts()) : while(have_posts()): the_post();?>
                 <?php the_content();?>
                 <?php endwhile; else:?>
index e57cb5a..12b31a5 100644 (file)
@@ -13,6 +13,7 @@
                             </div>
                             <div class="row">
                                 <?php if ( get_page_template_slug( $post->ID ) !== "events-template.php" ) { ?>
+                                    <div class="small-12 columns">
                                 <?php } else { ?>
                                     <div class="small-12 medium-11 large-10 small-centered columns events-content">
                                 <?php } ?>