From: Anthony Talarico Date: Tue, 7 Nov 2017 18:11:00 +0000 (-0500) Subject: adding new default header for interior pages X-Git-Tag: v1.0.0^2~34 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=20b0f8cf9fd91cf14c2ffafd1e31a7ac847ca4c2;p=WP-Themes%2Fmeetingsmichigan.git adding new default header for interior pages new default header for interior pages --- diff --git a/assets/default-header.jpg b/assets/default-header.jpg deleted file mode 100755 index 8943146..0000000 Binary files a/assets/default-header.jpg and /dev/null differ diff --git a/assets/default-header.png b/assets/default-header.png new file mode 100644 index 0000000..dd39ee6 Binary files /dev/null and b/assets/default-header.png differ diff --git a/functions.php b/functions.php index 3b67c97..9a6c89f 100644 --- a/functions.php +++ b/functions.php @@ -86,7 +86,7 @@ function glm_get_header($memberID = false) { echo ' style="background-image: url('.$image_data.');height:0;padding:0;padding-bottom:22%;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 420px; "'; } else if (!is_page('member-detail')) { - echo ' style="background-image: url('.get_template_directory_uri().'/assets/default-header.jpg);height:0;padding:0;padding-bottom:22%;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 420px; "'; + echo ' style="background-image: url('.get_template_directory_uri().'/assets/default-header.png);height:0;padding:0;padding-bottom:22%;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 420px; "'; } echo '>'; echo '';