switching the header band and the industries section on front page
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 18 Apr 2018 16:40:32 +0000 (12:40 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 18 Apr 2018 16:40:32 +0000 (12:40 -0400)
header.php
home-page.php
index-parallax.php
style.css

index 7bb4881..ad6ac90 100644 (file)
                if(of_get_option('show_social') == 1):
                        do_action('accesspress_social');
                endif; ?>
-        <div id="header-band">
-            
+        <div id="industries">
+            <div id="industry-group">
+                <span>Financial</span>
+                <span>Healthcare</span>
+                <span>Technology</span>
+                <span>Manufacturing</span>
+                <span>Professional Services</span>
+            </div>
         </div>
        </header><!-- #masthead -->
 
index 9d79681..57f22c6 100644 (file)
@@ -99,14 +99,8 @@ get_header();
                        </div>
             <?php endif; ?>
             <?php  if($count === 0){ ?>
-            <div id="industries">
-                <div id="industry-group">
-                    <span>Financial</span>
-                    <span>Healthcare</span>
-                    <span>Technology</span>
-                    <span>Manufacturing</span>
-                    <span>Professional Services</span>
-                </div>
+            <div id="header-band">
+
             </div>
             <?php } ?>
                </section>
index f3c13ce..7eb3b70 100644 (file)
                        <?php if($layout != "googlemap_template") :?>
                        </div>
             <?php endif; ?>
-            <?php if($count === 0){ ?>
-            <div id="industries">
-                <div id="industry-group">
-                    <span>Financial</span>
-                    <span>Healthcare</span>
-                    <span>Technology</span>
-                    <span>Manufacturing</span>
-                    <span>Professional Services</span>
-                </div>
+            <?php if($count === 1){ ?>
+            <div id="header-band">
+
             </div>
             <?php } ?>
                </section>
index 0f11818..615264b 100644 (file)
--- a/style.css
+++ b/style.css
@@ -2513,17 +2513,18 @@ Responsive grid for pages
 }
 
 #header-band{
-    margin-top: 10px;
-    background-color: #C6D4E1;
-    height: 50px;
-}
-#industries{
+    
     position: absolute;
     bottom: -50px;
     height: 50px;
-    background-color: #A1AC88;
+    background-color: #C6D4E1;
     z-index: 100;
     width: 100%;
+}
+#industries{
+    margin-top: 10px;
+    background-color: #A1AC88;
+    height: 50px;
     /* margin-bottom: 20px; */
 }
 #industries #industry-group{
@@ -2559,6 +2560,9 @@ Responsive grid for pages
 .parallax-section:first-child {
     padding: 150px 0 75px;
 }
+.parallax-section:nth-child(2){
+   margin-top: 30px;
+}
 /* .parallax-section:first-child::after{
     width: 100%;
     height: 50px;