I think the golf template is finished.
authorIan Weller <ian@gaslightmedia.com>
Tue, 28 Mar 2017 19:55:48 +0000 (15:55 -0400)
committerIan Weller <ian@gaslightmedia.com>
Tue, 28 Mar 2017 19:55:48 +0000 (15:55 -0400)
I think I have the golf template in a position that meets all the
requested requirements.

css/app.css
functions.php
page-golf-template.php
scss/_main.scss

index 385dde2..fe905ed 100644 (file)
@@ -6970,14 +6970,23 @@ main #mid {
         min-height: 170px; } }
   #head-img #golf-logo {
     position: absolute;
-    bottom: 70px;
+    bottom: 20px;
     right: 25px;
-    z-index: 5;
     -webkit-box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.8);
     -moz-box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.8);
     -ms-box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.8);
     box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.8); }
 
+main#golf-template h2#slide-text {
+  margin-top: -85px; }
+main#golf-template img.orb-shadow {
+  top: 0; }
+main#golf-template #content-wrapper {
+  top: 0; }
+main#golf-template ul.sidenav {
+  list-style: none;
+  margin-left: 0; }
+
 main.search-results #head-img {
   margin: -280px auto 0; }
   @media only screen and (max-width: 40em) {
index 9b2de02..617c797 100644 (file)
@@ -418,7 +418,7 @@ function glm_side_menu() {
         $ID = $parent->ID;
     }
     echo '<h1>'.get_the_title($ID).'</h1>';
-    echo '<ul class="sidebar"><!-- begin -->'."\n";
+    echo '<ul class="sidenav"><!-- begin -->'."\n";
     echo wp_list_pages( 'child_of='.$ID.'&title_li=&depth=1&echo=0');
     echo '</ul><!-- end -->'."\n";
 }
index 07001f5..57de1e2 100644 (file)
@@ -78,7 +78,7 @@ Note 2: 'Nb cols' parameter for Bootstrap only.
                         <a id="sm-logo" class="show-for-small-down text-center" href="<?php bloginfo('url'); ?>"><img alt="Mount Pleasant logo" src="<?php bloginfo('template_url'); ?>/assets/mt-pleasant-pure-mi-logo.png"></a>
                     </header>
                     <?php get_template_part('parts/off-canvas-menu');?>
-<main class="page-inside">
+<main id="golf-template" class="page-inside">
     <div id="head-img">
         <?php echo glm_get_background(); ?>
         <div id="golf-logo"><img alt="Michigan's Central Swing" src="<?php bloginfo('template_url'); ?>/assets/central-swing-logo-interior.jpg"></div>
@@ -88,18 +88,19 @@ Note 2: 'Nb cols' parameter for Bootstrap only.
             <h2 id="slide-text">Life… Is Good… In The Center Of It All</h2>
         </div>
     </div>
-    <?php get_template_part('parts/reservation-form');?>
     <div class="row">
         <img class="orb-shadow" src="<?php bloginfo('template_url'); ?>/assets/shadow-lrg.jpg">
     </div>
-    <?php if (is_page("kitchensink")) {
+<!--
+    <?php //if (is_page("kitchensink")) {
     ?>
     <div id="content-wrapper">
             <div class="row">
-    <?php get_template_part('parts/glm-kitchen-sink'); ?>
+    <?php //get_template_part('parts/glm-kitchen-sink'); ?>
         </div>
     </div>
-        <?php } else { ?>
+        <?php //} else { ?>
+-->
         <div id="content-wrapper">
             <div class="row">
                 <?php
@@ -107,15 +108,18 @@ Note 2: 'Nb cols' parameter for Bootstrap only.
                 ?>
             </div>
             <div class="row">
-                <div id="main-content" class="small-12 medium-10 medium-centered columns">
+                <div id="main-content" class="small-12 medium-9 medium-push-3 columns">
                         <?php if(have_posts()) : while(have_posts()): the_post();?>
                         <?php the_content();?>
                         <?php endwhile; else:?>
                         <p><?php _e('Sorry, no results found.');?></p>
                         <?php endif;?>
                 </div>
+                <div class="small-12 medium-3 medium-pull-9 columns">
+                    <?php glm_side_menu();?>
+                </div>
             </div>
             <?php get_template_part('parts/interior-footer'); ?>
         </div>
-        <?php } ?>
+        <?php //} ?>
 <?php get_footer(); ?>
index ea95326..82d6c86 100644 (file)
@@ -361,15 +361,29 @@ main {
     }
     #golf-logo {
         position: absolute;
-        bottom: 70px;
+        bottom: 20px;
         right: 25px;
-        z-index: 5;
         -webkit-box-shadow: 0 0 5px 5px rgba(0,0,0,0.8);
         -moz-box-shadow: 0 0 5px 5px rgba(0,0,0,0.8);
         -ms-box-shadow: 0 0 5px 5px rgba(0,0,0,0.8);
         box-shadow: 0 0 5px 5px rgba(0,0,0,0.8);
     }
 }
+main#golf-template{
+    h2#slide-text {
+        margin-top: -85px;
+    }
+    img.orb-shadow {
+        top: 0;
+    }
+    #content-wrapper{
+        top: 0;
+    }
+    ul.sidenav {
+        list-style: none;
+        margin-left: 0;
+    }
+}
 main.search-results {
     #head-img {
         margin: -280px auto 0;