From 6d7ed1e861b19eb7f3dd9e750b649c7bbcbfed13 Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Mon, 14 Nov 2016 16:48:32 +0000 Subject: [PATCH] Twenty Seventeen: Fixes custom header text color issues Removes default header text color and updates and updates selectors. Props laurelfulford, davidakennedy, Idealien Fixes #38391 git-svn-id: https://develop.svn.wordpress.org/trunk@39224 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyseventeen/inc/custom-header.php | 6 ++---- .../twentyseventeen/template-parts/header/header-image.php | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/wp-content/themes/twentyseventeen/inc/custom-header.php b/src/wp-content/themes/twentyseventeen/inc/custom-header.php index a535f5f459..c137ccc41a 100644 --- a/src/wp-content/themes/twentyseventeen/inc/custom-header.php +++ b/src/wp-content/themes/twentyseventeen/inc/custom-header.php @@ -35,7 +35,6 @@ function twentyseventeen_custom_header_setup() { */ add_theme_support( 'custom-header', apply_filters( 'twentyseventeen_custom_header_args', array( 'default-image' => get_parent_theme_file_uri( '/assets/images/header.jpg' ), - 'default-text-color' => 'ffffff', 'width' => 2000, 'height' => 1200, 'flex-height' => true, @@ -85,10 +84,9 @@ function twentyseventeen_header_style() { else : ?> .site-title a, - .twentyseventeen-front-page:not(.no-header-image) .site-title, - .twentyseventeen-front-page:not(.no-header-image) .site-title a, + body.has-header-image .site-title a, .site-description, - .twentyseventeen-front-page:not(.no-header-image) .site-description { + body.has-header-image .site-description { color: #; } diff --git a/src/wp-content/themes/twentyseventeen/template-parts/header/header-image.php b/src/wp-content/themes/twentyseventeen/template-parts/header/header-image.php index de03a609c3..17ea8af16b 100644 --- a/src/wp-content/themes/twentyseventeen/template-parts/header/header-image.php +++ b/src/wp-content/themes/twentyseventeen/template-parts/header/header-image.php @@ -11,7 +11,6 @@ ?>