Make WordPress Core

Changeset 39415


Ignore:
Timestamp:
12/02/2016 05:43:25 AM (10 years ago)
Author:
joemcgill
Message:

Twenty Seventeen: Add .has-header-video styles for custom color schemes.

Following [39413], this adds .has-header-video style definitions in
/inc/custom-header.php to support custom color schemes.

Props laurelfulford.
Fixes 38995.

File:
1 edited

Legend:

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

    r39397 r39415  
    8888                .colors-custom .site-title a,
    8989                body.has-header-image .site-title a,
     90                body.has-header-video .site-title a,
    9091                body.has-header-image.colors-dark .site-title a,
     92                body.has-header-video.colors-dark .site-title a,
    9193                body.has-header-image.colors-custom .site-title a,
     94                body.has-header-video.colors-custom .site-title a,
    9295                .site-description,
    9396                .colors-dark .site-description,
    9497                .colors-custom .site-description,
    9598                body.has-header-image .site-description,
     99                body.has-header-video .site-description,
    96100                body.has-header-image.colors-dark .site-description,
    97                 body.has-header-image.colors-custom .site-description {
     101                body.has-header-video.colors-dark .site-description,
     102                body.has-header-image.colors-custom .site-description,
     103                body.has-header-video.colors-custom .site-description {
    98104                        color: #<?php echo esc_attr( $header_text_color ); ?>;
    99105                }
Note: See TracChangeset for help on using the changeset viewer.