Twenty Seventeen: Make sure header text color is applied when color schemes are active.

Props laurelfulford, ocean90.

Fixes #38980.


git-svn-id: https://develop.svn.wordpress.org/trunk@39397 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
David A. Kennedy 2016-12-01 00:03:27 +00:00
parent 352e997f92
commit d4d90b0425

View File

@ -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: #<?php echo esc_attr( $header_text_color ); ?>;
}
<?php endif; ?>