From 42142aabe627453cfa580492c5bcd1fb329ccee4 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 26 Aug 2016 13:56:11 -0400 Subject: [PATCH] changing header image padding from 20 to 32% with a height 100% --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index d26551c..1068db0 100644 --- a/functions.php +++ b/functions.php @@ -184,7 +184,7 @@ 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-top:200px;padding-bottom:20%;background-position:center center;background-size: 100%;background-repeat:no-repeat; "'; + echo ' style="background-image: url('.$image_data[0].');height:100%;padding-bottom:32%;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;"'; echo ' class="no-featured"'; -- 2.17.1