From 7054419f0f84d81aac99cb52d3c8d1ca57925d52 Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Thu, 1 Dec 2016 00:11:26 +0000 Subject: [PATCH] Twenty Seventeen: Make sure header text color is applied when color schemes are active. Props laurelfulford, ocean90. Merges [39397] to the 4.7 branch. Fixes #38980 for 4.7. git-svn-id: https://develop.svn.wordpress.org/branches/4.7@39398 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentyseventeen/inc/custom-header.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentyseventeen/inc/custom-header.php b/src/wp-content/themes/twentyseventeen/inc/custom-header.php index e8e4b71ac9..50294b83fc 100644 --- a/src/wp-content/themes/twentyseventeen/inc/custom-header.php +++ b/src/wp-content/themes/twentyseventeen/inc/custom-header.php @@ -84,9 +84,17 @@ function twentyseventeen_header_style() { else : ?> .site-title a, - body.has-header-image .site-title a, + .colors-dark .site-title a, + .colors-custom .site-title a, + body.has-header-image .site-title a, + body.has-header-image.colors-dark .site-title a, + body.has-header-image.colors-custom .site-title a, .site-description, - body.has-header-image .site-description { + .colors-dark .site-description, + .colors-custom .site-description, + body.has-header-image .site-description, + body.has-header-image.colors-dark .site-description, + body.has-header-image.colors-custom .site-description { color: #; }