WordPress.org

Make WordPress Core

Changeset 39416


Ignore:
Timestamp:
12/02/2016 05:46:19 AM (20 months 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 for 4.7.

Location:
branches/4.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.7

  • branches/4.7/src/wp-content/themes/twentyseventeen/inc/custom-header.php

    r39398 r39416  
    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.