mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
Twenty Seventeen: Fixes custom header text color issues
Removes default header text color and updates and updates selectors. Props laurelfulford, davidakennedy, Idealien Fixes #38391 Built from https://develop.svn.wordpress.org/trunk@39224 git-svn-id: http://core.svn.wordpress.org/trunk@39164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a4fa8c528f
commit
1c2343e4ea
@ -35,7 +35,6 @@ function twentyseventeen_custom_header_setup() {
|
||||
*/
|
||||
add_theme_support( 'custom-header', apply_filters( 'twentyseventeen_custom_header_args', array(
|
||||
'default-image' => get_parent_theme_file_uri( '/assets/images/header.jpg' ),
|
||||
'default-text-color' => 'ffffff',
|
||||
'width' => 2000,
|
||||
'height' => 1200,
|
||||
'flex-height' => true,
|
||||
@ -85,10 +84,9 @@ function twentyseventeen_header_style() {
|
||||
else :
|
||||
?>
|
||||
.site-title a,
|
||||
.twentyseventeen-front-page:not(.no-header-image) .site-title,
|
||||
.twentyseventeen-front-page:not(.no-header-image) .site-title a,
|
||||
body.has-header-image .site-title a,
|
||||
.site-description,
|
||||
.twentyseventeen-front-page:not(.no-header-image) .site-description {
|
||||
body.has-header-image .site-description {
|
||||
color: #<?php echo esc_attr( $header_text_color ); ?>;
|
||||
}
|
||||
<?php endif; ?>
|
||||
|
@ -11,7 +11,6 @@
|
||||
?>
|
||||
<div class="custom-header">
|
||||
<?php
|
||||
$header_image = get_header_image();
|
||||
|
||||
// Check if Custom Header image has been added.
|
||||
if ( has_custom_header() ) :
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7-beta3-39223';
|
||||
$wp_version = '4.7-beta3-39224';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user