moving the front page elements around
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 28 Feb 2018 20:19:51 +0000 (15:19 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 28 Feb 2018 20:19:51 +0000 (15:19 -0500)
changing the order of the front page elements

front-page.php

index 258374c..c42834f 100644 (file)
                 <?php endif;?>
             </div>
         </div>
-        <div class="row">
-            <?php get_template_part('parts/glm-blocks'); ?>
+        <div id="video">
+            <video id="front-page-video" playsinline loop controls muted>
+                <source src="<?php bloginfo('template_url'); ?>/assets/winter_video.mp4" type="video/mp4">
+            </video>
+            <!-- <iframe width="560" height="315" src="https://www.youtube.com/embed/etv3-mo9Q-Y?rel=0" frameborder="0" allowfullscreen></iframe> -->
         </div>
+        
         <div class="feature-events">
             <div id="event-feed-row" class="row">
                 <?php get_template_part('parts/event-feed'); ?>
             </div>
         </div>
         <?php get_template_part('parts/blog-feed-front');?>
-        <div id="video">
-        <video id="front-page-video" playsinline loop controls muted>
-            <source src="<?php bloginfo('template_url'); ?>/assets/winter_video.mp4" type="video/mp4">
-        </video>
-            <!-- <iframe width="560" height="315" src="https://www.youtube.com/embed/etv3-mo9Q-Y?rel=0" frameborder="0" allowfullscreen></iframe> -->
+        <div class="row">
+            <?php get_template_part('parts/glm-blocks'); ?>
         </div>
+        
     </div>
 <?php get_footer(); ?>