Making Central Swing chagnes
authorIan Weller <ian@gaslightmedia.com>
Thu, 6 Apr 2017 17:46:57 +0000 (13:46 -0400)
committerIan Weller <ian@gaslightmedia.com>
Thu, 6 Apr 2017 17:46:57 +0000 (13:46 -0400)
I am trying to wrap up the changes requested for the golf section.  I
have a good chunk of it done at this point.

assets/Central_Swing_Logo-resized.jpg [new file with mode: 0644]
css/app.css
header.php
page-golf-template.php
scss/_main.scss
scss/_page.header.scss

diff --git a/assets/Central_Swing_Logo-resized.jpg b/assets/Central_Swing_Logo-resized.jpg
new file mode 100644 (file)
index 0000000..8aeac26
Binary files /dev/null and b/assets/Central_Swing_Logo-resized.jpg differ
index 63a3dd9..817e422 100644 (file)
@@ -6519,6 +6519,10 @@ header#page-header {
       -ms-transform: rotate(45deg);
       transform: rotate(45deg); }
 
+#golf-logo-img {
+  position: relative;
+  bottom: -40px; }
+
 #sm-logo img {
   padding-top: 20px; }
 
@@ -6976,8 +6980,6 @@ main #mid {
         margin-top: -140px;
         min-height: 170px; } }
 
-main#golf-template h2#slide-text {
-  margin-top: -85px; }
 main#golf-template img.orb-shadow {
   top: 0; }
   @media screen and (max-width: 797px) {
@@ -6991,17 +6993,6 @@ main#golf-template img.orb-shadow {
       top: -6px; } }
 main#golf-template #content-wrapper {
   top: 0; }
-main#golf-template #quicknav {
-  background: #690433; }
-  main#golf-template #quicknav h2 {
-    color: #FFFFFF; }
-  main#golf-template #quicknav ul.sidenav {
-    list-style: none;
-    margin: 0; }
-    main#golf-template #quicknav ul.sidenav li {
-      padding: 7.5px 0; }
-      main#golf-template #quicknav ul.sidenav li a {
-        color: #FFFFFF; }
 
 main.search-results #head-img {
   margin: -280px auto 0; }
index ff2af12..fdbd0da 100644 (file)
@@ -66,5 +66,14 @@ Note 2: 'Nb cols' parameter for Bootstrap only.
                         </div>
                         <?php get_template_part('parts/top-bar');?>
                         <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>
+                        <?php if (get_page_template_slug( $post->ID ) == "page-golf-template.php") { ?>
+                        <div id="golf-logo-img" class="row collapse">
+                            <div class="small-12 columns">
+                                <img src="<?php bloginfo('template_url'); ?>/assets/Central_Swing_Logo-resized.jpg">
+                            </div>
+                        </div>
+                        <?php } else { ?>
+                        
+                        <?php } ?>
                     </header>
                     <?php get_template_part('parts/off-canvas-menu');?>
index 7c9a628..fdf4d6b 100644 (file)
@@ -9,9 +9,11 @@
         <?php echo glm_get_background(); ?>
     </div>
     <div class="row">
-        <div class="small-12 columns">
-            <h2 id="slide-text">Life… Is Good… In The Center Of It All</h2>
+<!--
+        <div id="golf-logo-img" class="small-12 columns">
+            <img src="<?php //bloginfo('template_url'); ?>/assets/Central_Swing_Logo-resized.jpg">
         </div>
+-->
     </div>
     <div class="row">
         <img class="orb-shadow" src="<?php bloginfo('template_url'); ?>/assets/shadow-lrg.jpg">
                 get_template_part('parts/bread-crumbs');
                 ?>
             </div>
+            <div class="row">
+                <?php
+                get_template_part('parts/glm-blocks');
+                ?>
+            </div>
             <div class="row">
                 <div id="main-content" class="small-12 columns">
                         <?php if(have_posts()) : while(have_posts()): the_post();?>
index 3938bcb..a8c41cc 100644 (file)
@@ -361,9 +361,6 @@ main {
     }
 }
 main#golf-template{
-    h2#slide-text {
-        margin-top: -85px;
-    }
     img.orb-shadow {
         top: 0;
         @media screen and (max-width: 797px) {
@@ -379,23 +376,6 @@ main#golf-template{
     #content-wrapper{
         top: 0;
     }
-    #quicknav {
-        background: $maroon;
-        h2 {
-//            font-size: rem-calc(22);
-            color: $white;
-        }
-        ul.sidenav {
-            list-style: none;
-            margin: 0;
-            li {
-                padding: 7.5px 0;
-                a {
-                    color: $white;
-                }
-            } 
-        }
-    }
 }
 main.search-results {
     #head-img {
index 03f82b3..015d9ba 100644 (file)
@@ -120,6 +120,10 @@ header#page-header {
 //        margin-left: 5px;
 //    }
 }
+#golf-logo-img {
+    position: relative;
+    bottom: -40px;
+}
 #sm-logo {
     img {
         padding-top: 20px;