Center the single events timely
authorLaury GvR <laury@gaslightmedia.com>
Mon, 11 Jan 2016 19:44:45 +0000 (14:44 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Mon, 11 Jan 2016 19:44:45 +0000 (14:44 -0500)
single.php

index 931cb66..b91439f 100644 (file)
@@ -1,7 +1,11 @@
 <?php get_header(); ?>
 <main>
         <div class="row">
+            <?php if (get_post_type( $post ) == "ai1ec_event") { ?>
+            <div id="blog-posts-over" class="ai1ec-post small-12 medium-10 medium-centered columns">
+            <?php } else { ?>
             <div id="blog-posts-over" class="small-12 medium-9 columns">
+            <?php } ?>
                 <?php if(have_posts()) : while(have_posts()): the_post();?>
                 <div class="row" id="blog-posts-container">
                     <div class="small-11 small-centered columns">