From 25a6c0cc027f719e34c3cb96951008f465cfd000 Mon Sep 17 00:00:00 2001 From: Joe McGill Date: Fri, 2 Dec 2016 05:43:25 +0000 Subject: [PATCH] Twenty Seventeen: Add `.has-header-video` styles for custom color schemes. Following [39413], this adds `.has-header-video` style definitions in `/inc/custom-header.php` to support custom color schemes. Props laurelfulford. Fixes 38995. git-svn-id: https://develop.svn.wordpress.org/trunk@39415 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentyseventeen/inc/custom-header.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/wp-content/themes/twentyseventeen/inc/custom-header.php b/src/wp-content/themes/twentyseventeen/inc/custom-header.php index 50294b83fc..42a89e93d8 100644 --- a/src/wp-content/themes/twentyseventeen/inc/custom-header.php +++ b/src/wp-content/themes/twentyseventeen/inc/custom-header.php @@ -87,14 +87,20 @@ function twentyseventeen_header_style() { .colors-dark .site-title a, .colors-custom .site-title a, body.has-header-image .site-title a, + body.has-header-video .site-title a, body.has-header-image.colors-dark .site-title a, + body.has-header-video.colors-dark .site-title a, body.has-header-image.colors-custom .site-title a, + body.has-header-video.colors-custom .site-title a, .site-description, .colors-dark .site-description, .colors-custom .site-description, body.has-header-image .site-description, + body.has-header-video .site-description, body.has-header-image.colors-dark .site-description, - body.has-header-image.colors-custom .site-description { + body.has-header-video.colors-dark .site-description, + body.has-header-image.colors-custom .site-description, + body.has-header-video.colors-custom .site-description { color: #; }