making interior pages full width
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 21 Jun 2017 16:42:28 +0000 (12:42 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 21 Jun 2017 16:42:28 +0000 (12:42 -0400)
unless the page has a members only template, the page content will be 12 columns for interior
pages.

sections/interior-page.php

index 31bde64..ddeb23a 100644 (file)
@@ -24,7 +24,7 @@
                                     </div>
                                     
                                 <?php } else { ?>
-                                         <div class="small-12 large-push-4 large-8 columns">
+                                         <div class="small-12 columns">
                                              <?php if(function_exists('bcn_display') && !is_front_page())
                                              {
                                                 echo "<div class=\"breadcrumbs small-12 columns\">"; 
@@ -35,8 +35,9 @@
                                             <?php get_template_part('parts/main-content');?>
                                         </div>
                                 <?php } ?>
-                                <div id="side-content" class=" text-center small-12 large-pull-8 large-4 columns large-text-left">
-                                   <?php if (get_page_template_slug( $post->ID ) === "members-only-template.php") {  ?>
+                                <?php if (get_page_template_slug( $post->ID ) === "members-only-template.php") {  ?>
+                                    <div id="side-content" class=" text-center small-12 large-pull-8 large-4 columns large-text-left">
+                                   
                                    <div id="sidebar" class="small-12" data-equalizer-watch>
                                         <?php get_sidebar(); ?>
                                     </div>