From 7c3e5bd990c451dea52e92d2dcec3fee65951d2d Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Thu, 17 Sep 2015 14:38:38 -0400 Subject: [PATCH] topbar finished --- css/app.css | 8 ++++---- functions.php | 2 +- scss/_topbar.scss | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/css/app.css b/css/app.css index 02a53ab..f44e3dd 100644 --- a/css/app.css +++ b/css/app.css @@ -6594,7 +6594,7 @@ ul#sec-nav { float: left; width: 100%; min-width: 586px; - padding: 160px 10px 10px 15px; } + padding: 170px 10px 10px 15px; } .top-bar-section ul li .dropdown:before { z-index: -2; position: absolute; @@ -6606,10 +6606,10 @@ ul#sec-nav { min-height: 200px; height: 100%; background-color: #FFFFFF; - background-image: url(../assets/kids.jpg); + background-image: url(../assets/interior-pg-sample-header-image.jpg); background-repeat: no-repeat; - background-position: 20px 20px; - background-size: 545px 140px; + background-position: 15px 15px; + background-size: 550px 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); diff --git a/functions.php b/functions.php index b373f50..15534bb 100644 --- a/functions.php +++ b/functions.php @@ -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)); + $thumbnail = wp_get_attachment_image_src(get_post_thumbnail_id((int)$object->object_id), 'large'); $item_style .= ""; } //$output .= ( 0 == $depth ) ? '
  • ' : ''; diff --git a/scss/_topbar.scss b/scss/_topbar.scss index 98ad41c..6bd2084 100644 --- a/scss/_topbar.scss +++ b/scss/_topbar.scss @@ -78,7 +78,7 @@ float: left; width: 100%; min-width: 586px; - padding: 160px 10px 10px 15px; + padding: 170px 10px 10px 15px; // columns: 2; // -webkit-columns: 2; // -moz-columns: 2; @@ -94,10 +94,10 @@ min-height: 200px; height: 100%; background-color: $white; - background-image: url(../assets/kids.jpg); + background-image: url(../assets/interior-pg-sample-header-image.jpg); background-repeat: no-repeat; - background-position: 20px 20px; - background-size: 545px 140px; + background-position: 15px 15px; + background-size: 550px 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); -- 2.17.1