Make WordPress Core


Ignore:
Timestamp:
11/14/2016 04:48:32 PM (8 years ago)
Author:
karmatosed
Message:

Twenty Seventeen: Fixes custom header text color issues

Removes default header text color and updates and updates selectors.

Props laurelfulford, davidakennedy, Idealien
Fixes #38391

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/inc/custom-header.php

    r38985 r39224  
    3636    add_theme_support( 'custom-header', apply_filters( 'twentyseventeen_custom_header_args', array(
    3737        'default-image'      => get_parent_theme_file_uri( '/assets/images/header.jpg' ),
    38         'default-text-color' => 'ffffff',
    3938        'width'              => 2000,
    4039        'height'             => 1200,
     
    8685    ?>
    8786        .site-title a,
    88         .twentyseventeen-front-page:not(.no-header-image) .site-title,
    89         .twentyseventeen-front-page:not(.no-header-image) .site-title a,
     87         body.has-header-image .site-title a,
    9088        .site-description,
    91         .twentyseventeen-front-page:not(.no-header-image) .site-description {
     89        body.has-header-image .site-description {
    9290            color: #<?php echo esc_attr( $header_text_color ); ?>;
    9391        }
Note: See TracChangeset for help on using the changeset viewer.