Explorar o código

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

Laurel Fulford %!s(int64=7) %!d(string=hai) anos
pai
achega
dfb040c46a
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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; ?>