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.
- <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:?>
</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 } ?>