adding new default header for interior pages
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 7 Nov 2017 18:11:00 +0000 (13:11 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 7 Nov 2017 18:11:00 +0000 (13:11 -0500)
new default header for interior pages

assets/default-header.jpg [deleted file]
assets/default-header.png [new file with mode: 0644]
functions.php

diff --git a/assets/default-header.jpg b/assets/default-header.jpg
deleted file mode 100755 (executable)
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 (file)
index 0000000..dd39ee6
Binary files /dev/null and b/assets/default-header.png differ
index 3b67c97..9a6c89f 100644 (file)
@@ -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 '</div>';