removing side bar from the bottom of chamber pages in mobile view
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 14 Oct 2016 12:01:16 +0000 (08:01 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 14 Oct 2016 12:01:16 +0000 (08:01 -0400)
sections/interior-page.php

index e5b66a5..871b6b9 100644 (file)
               <?php if (get_page_template_slug( $post->ID ) == "page-chamber") { ?>
                    
                 <?php $index_template = false; ?>
-                    <div id="chamber-content" class="small-12 medium-8 medium-push-4 large-9 large-push-3 columns">
+                   <div id="sidebar" class="small-12 medium-4 large-3 columns">
+                        <?php get_template_part('parts/chamber-sidebar-left'); ?>
+                     </div>    
+                    <div id="chamber-content" class="small-12 medium-8 large-9 columns">
                         <?php if(function_exists('bcn_display') && !is_front_page()) 
                         {
                             echo "<div class=\"breadcrumbs\">";
@@ -29,9 +32,6 @@
                         } ?>
                         <?php get_template_part('parts/main-content'); ?>
                      </div>    
-                     <div id="sidebar" class="small-12 medium-4 medium-pull-8 large-3 large-pull-9 columns">
-                        <?php get_template_part('parts/chamber-sidebar-left'); ?>
-                     </div>    
 
                 <?php } else if(is_in_tree(MEMBERS_ONLY_ID)) { ?>
                     <?php get_template_part('sections/glm-members-only'); ?>