Browse Source

Scratchpad: Correct CSS selector for Header Text Color. Fixes https://github.com/Automattic/themes/issues/53.

Laurel Fulford 7 years ago
parent
commit
dfb040c46a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      scratchpad/inc/custom-header.php

+ 2 - 1
scratchpad/inc/custom-header.php

@@ -65,7 +65,8 @@ function scratchpad_header_style() {
 		// If the user has set a custom color for the text use that.
 		else :
 	?>
-		.site-title a {
+		#masthead .site-title a,
+		#masthead .site-description {
 			color: #<?php echo esc_attr( $header_text_color ); ?>;
 		}
 	<?php endif; ?>