smaller swing logo and tweeked the golf template
authorIan Weller <ian@gaslightmedia.com>
Wed, 29 Mar 2017 16:39:58 +0000 (12:39 -0400)
committerIan Weller <ian@gaslightmedia.com>
Wed, 29 Mar 2017 16:39:58 +0000 (12:39 -0400)
I added a smaller swing logo.  It replaced the other logo that was under
the nav items.  I also altered the sidenav on the golf template to make
it similar to the member only template.

assets/central-swing-logo-small.jpg [new file with mode: 0644]
css/app.css
functions.php
header.php
page-golf-template.php
parts/off-canvas-menu.php
scss/_left-off-canvas.scss
scss/_main.scss
scss/_page.header.scss

diff --git a/assets/central-swing-logo-small.jpg b/assets/central-swing-logo-small.jpg
new file mode 100644 (file)
index 0000000..1b8e052
Binary files /dev/null and b/assets/central-swing-logo-small.jpg differ
index 4f8f5bb..421cbe3 100644 (file)
@@ -6527,7 +6527,7 @@ header#page-header {
   .golf-container #golf-logo {
     position: absolute;
     top: 0;
-    right: 0; }
+    right: 21px; }
     @media screen and (max-width: 1055px) {
       .golf-container #golf-logo {
         display: none; } }
@@ -6989,7 +6989,9 @@ main#golf-template img.orb-shadow {
       top: -6px; } }
 main#golf-template #content-wrapper {
   top: 0; }
-main#golf-template ul.sidenav {
+main#golf-template #quicknav h1 {
+  font-size: 1.875rem; }
+main#golf-template #quicknav ul.sidenav {
   list-style: none;
   margin-left: 0; }
 
@@ -8137,7 +8139,7 @@ aside.left-off-canvas-menu ul.open {
 
 #off-canvas-golf {
   margin-bottom: 20px;
-  margin-left: 1.1rem; }
+  margin-left: 30px; }
 
 input.button {
   margin-left: 25px;
index 617c797..66cecbe 100644 (file)
@@ -417,7 +417,7 @@ function glm_side_menu() {
     } else {
         $ID = $parent->ID;
     }
-    echo '<h1>'.get_the_title($ID).'</h1>';
+    echo '<h1>MI Centeral Swing Golf</h1>';
     echo '<ul class="sidenav"><!-- begin -->'."\n";
     echo wp_list_pages( 'child_of='.$ID.'&title_li=&depth=1&echo=0');
     echo '</ul><!-- end -->'."\n";
index 110e052..a013531 100644 (file)
@@ -67,7 +67,7 @@ Note 2: 'Nb cols' parameter for Bootstrap only.
                         </div>
                         <?php get_template_part('parts/top-bar');?>
                         <div class="row collapse golf-container">
-                            <a href="<?php echo get_permalink(3041); ?>"><img id="golf-logo" alt="Michigan's Central Swing" src="<?php bloginfo('template_url'); ?>/assets/central-swing-logo-interior.jpg"></a>
+                            <a href="<?php echo get_permalink(3041); ?>"><img id="golf-logo" alt="Michigan's Central Swing" src="<?php bloginfo('template_url'); ?>/assets/central-swing-logo-small.jpg"></a>
                         </div>
                         <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>
index ef8f158..69f260e 100644 (file)
                 ?>
             </div>
             <div class="row">
-                <div id="main-content" class="small-12 medium-9 medium-push-3 columns">
+                <div id="quicknav" class="show-for-largep-up large-4 columns">
+                    <?php glm_side_menu();?>
+                </div>
+                <div id="main-content" class="small-12 large-8 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>
index 5c31677..de01276 100644 (file)
@@ -1,7 +1,7 @@
 <aside class="left-off-canvas-menu hide-for-large-up">
     <?php //glm_offcanvas_menu(); ?>
     <?php mountpleasantcvb_mobile_off_canvas(); ?>
-    <a href="<?php echo get_permalink(3041); ?>"><img id="off-canvas-golf" alt="Michigan's Central Swing" src="<?php bloginfo('template_url'); ?>/assets/central-swing-logo-interior.jpg"></a>
+    <a href="<?php echo get_permalink(3041); ?>"><img id="off-canvas-golf" alt="Michigan's Central Swing" src="<?php bloginfo('template_url'); ?>/assets/central-swing-logo-small.jpg"></a>
     <form role="search" method="get" id="formsearch" action="<?php echo home_url('/'); ?>">
         <input class="search-input" type="search" placeholder="SEARCH" value="" name="s" id="off-search">
         <input type="submit" class="button" name="submit" value="Search">
index db71f93..82aeb42 100644 (file)
@@ -77,7 +77,7 @@ aside.left-off-canvas-menu ul.open {
 }
 #off-canvas-golf {
     margin-bottom: 20px;
-    margin-left: 1.1rem;
+    margin-left: 30px;
 }
 input.button {
     margin-left: 25px;
index 51f3f9c..0891801 100644 (file)
@@ -379,9 +379,14 @@ main#golf-template{
     #content-wrapper{
         top: 0;
     }
-    ul.sidenav {
-        list-style: none;
-        margin-left: 0;
+    #quicknav {
+        h1 {
+            font-size: rem-calc(30);
+        }
+        ul.sidenav {
+            list-style: none;
+            margin-left: 0;
+        }
     }
 }
 main.search-results {
index 0fc0b44..03f82b3 100644 (file)
@@ -130,7 +130,7 @@ header#page-header {
     #golf-logo {
         position: absolute;
         top: 0;
-        right: 0;
+        right: 21px;
         @media screen and (max-width: 1055px){
             display: none;
         }