I think it's finished.
authorIan Weller <ian@gaslightmedia.com>
Thu, 6 Apr 2017 18:02:46 +0000 (14:02 -0400)
committerIan Weller <ian@gaslightmedia.com>
Thu, 6 Apr 2017 18:02:46 +0000 (14:02 -0400)
I have styled and added all I think I can for the Central Swing part of
the site.

css/app.css
parts/glm-blocks.php
scss/_main.scss

index 817e422..548438b 100644 (file)
@@ -6993,6 +6993,13 @@ main#golf-template img.orb-shadow {
       top: -6px; } }
 main#golf-template #content-wrapper {
   top: 0; }
+  main#golf-template #content-wrapper h5 {
+    font-size: 2.25rem;
+    font-family: "Kaushan Script";
+    color: #1F5426; }
+  main#golf-template #content-wrapper h6 {
+    font-size: 1.4375rem;
+    color: #859878; }
 
 main.search-results #head-img {
   margin: -280px auto 0; }
index c21f6cf..a517340 100644 (file)
@@ -1,5 +1,16 @@
 <?php if(function_exists('fetch_all_glm_blocks')):?>
-<?php $blocks = fetch_all_glm_blocks();?>
+<?php
+$page_template = get_page_template_slug($post->ID);
+switch ($page_template) {
+case 'page-golf-template.php':
+    $defaultBlockGroup = GOLF_BLOCKS;
+    break;
+default:
+    $defaultBlockGroup = DEFAULT_BLOCKS;
+    break;
+}
+?>        
+<?php $blocks = fetch_all_glm_blocks($defaultBlockGroup);?>
 <div class="blocks" data-equalizer="">
     <?php foreach ($blocks as $block):?>
     <div class="text-center small-10 small-centered medium-uncentered medium-4 columns large-text-left block">
index a8c41cc..04a482e 100644 (file)
@@ -375,6 +375,15 @@ main#golf-template{
     }
     #content-wrapper{
         top: 0;
+        h5 {
+            font-size: rem-calc(36);
+            font-family: "Kaushan Script";
+            color: #1F5426;
+        }
+        h6 {
+            font-size: rem-calc(23);
+            color: #859878;
+        }
     }
 }
 main.search-results {