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
This commit is contained in:
parent
ac62809001
commit
7054419f0f
@ -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; ?>
|
||||
|
Loading…
Reference in New Issue
Block a user