Revert "topbar finished"
authorIan Weller <ian@gaslightmedia.com>
Thu, 17 Sep 2015 19:55:32 +0000 (15:55 -0400)
committerIan Weller <ian@gaslightmedia.com>
Thu, 17 Sep 2015 20:02:20 +0000 (16:02 -0400)
This reverts commit 7c3e5bd990c451dea52e92d2dcec3fee65951d2d.

css/app.css
functions.php
scss/_topbar.scss

index da3969e..bb207e9 100644 (file)
@@ -6600,7 +6600,7 @@ ul#sec-nav {
       float: left;
       width: 100%;
       min-width: 586px;
-      padding: 170px 10px 10px 15px; }
+      padding: 160px 10px 10px 15px; }
       .top-bar-section ul li .dropdown:before {
         z-index: -2;
         position: absolute;
@@ -6612,10 +6612,10 @@ ul#sec-nav {
         min-height: 200px;
         height: 100%;
         background-color: #FFFFFF;
-        background-image: url(../assets/interior-pg-sample-header-image.jpg);
+        background-image: url(../assets/kids.jpg);
         background-repeat: no-repeat;
-        background-position: 15px 15px;
-        background-size: 550px 140px;
+        background-position: 20px 20px;
+        background-size: 545px 140px;
         -webkit-box-shadow: 5px 5px 4px 0 rgba(0, 0, 0, 0.65);
         -moz-box-shadow: 5px 5px 4px 0 rgba(0, 0, 0, 0.65);
         -ms-box-shadow: 5px 5px 4px 0 rgba(0, 0, 0, 0.65);
index 1d67de0..3936cd7 100644 (file)
@@ -86,7 +86,7 @@ class Mountpleasantcvb_Top_Bar_Walker extends Walker_Nav_Menu {
         // Insert style to display page's thumbnail
         $item_style = '';
         if ($depth == 0 && has_post_thumbnail((int)$object->object_id)) {
-            $thumbnail = wp_get_attachment_image_src(get_post_thumbnail_id((int)$object->object_id), 'large');
+            $thumbnail = wp_get_attachment_image_src(get_post_thumbnail_id((int)$object->object_id));
             $item_style .= "<style>#menu-item-".$object->ID." > .dropdown:before { background-image: url('".$thumbnail[0]."');</style>";
         }
         //$output .= ( 0 == $depth ) ? '<li class="divider"></li>' : '';
index 13f0331..aaa8454 100644 (file)
@@ -84,7 +84,7 @@
                 float: left;
                 width: 100%;
                 min-width: 586px;
-                padding: 170px 10px 10px 15px;
+                padding: 160px 10px 10px 15px;
 //                columns: 2;
 //                -webkit-columns: 2;
 //                -moz-columns: 2;
                     min-height: 200px;
                     height: 100%;
                     background-color: $white;
-                    background-image: url(../assets/interior-pg-sample-header-image.jpg);
+                    background-image: url(../assets/kids.jpg);
                     background-repeat: no-repeat;
-                    background-position: 15px 15px;
-                    background-size: 550px 140px;
+                    background-position: 20px 20px;
+                    background-size: 545px 140px;
                     -webkit-box-shadow: 5px 5px 4px 0 rgba(0, 0, 0, 0.65);
                     -moz-box-shadow: 5px 5px 4px 0 rgba(0, 0, 0, 0.65);
                     -ms-box-shadow: 5px 5px 4px 0 rgba(0, 0, 0, 0.65);