浏览代码

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

Laurel Fulford 7 年之前
父节点
当前提交
dfb040c46a
共有 1 个文件被更改,包括 2 次插入1 次删除
  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.
 		// If the user has set a custom color for the text use that.
 		else :
 		else :
 	?>
 	?>
-		.site-title a {
+		#masthead .site-title a,
+		#masthead .site-description {
 			color: #<?php echo esc_attr( $header_text_color ); ?>;
 			color: #<?php echo esc_attr( $header_text_color ); ?>;
 		}
 		}
 	<?php endif; ?>
 	<?php endif; ?>