From: Anthony Talarico Date: Fri, 26 Aug 2016 17:35:41 +0000 (-0400) Subject: removing space between page tile and top nav if no page is present X-Git-Tag: v1.0.0^2~81 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=6010b298d029f5c056590167e440ac45a4b98063;p=WP-Themes%2Fpetoskeyarea.git removing space between page tile and top nav if no page is present --- diff --git a/functions.php b/functions.php index 7a288d8..d26551c 100644 --- a/functions.php +++ b/functions.php @@ -184,9 +184,9 @@ function glm_get_header() { if (has_post_thumbnail()) { $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full"); - echo ' style="background-image: url('.$image_data[0].');height:100%;padding:0;padding-bottom:20%;background-position:center center;background-size: 100%;background-repeat:no-repeat;height: 630px; "'; + echo ' style="background-image: url('.$image_data[0].');height:100%;padding-top:200px;padding-bottom:20%;background-position:center center;background-size: 100%;background-repeat:no-repeat; "'; } else { - echo ' style="background:transparent;height:100%;padding:0;padding-bottom:0;background-position:center center;background-size: 100%;background-repeat:no-repeat;height: 630px;"'; + echo ' style="background:transparent;height:100%;padding:0;padding-bottom:0;background-position:center center;background-size: 100%;background-repeat:no-repeat;"'; echo ' class="no-featured"'; } echo '>';