Make WordPress Core

Changeset 39392 for trunk


Ignore:
Timestamp:
11/30/2016 11:29:23 PM (8 years ago)
Author:
davidakennedy
Message:

Twenty Seventeen: Make fixed navigation apply at correct height on front page, without header video or image

Props laurelfulford, littlebigthing.

Fixes #38927.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/template-parts/header/header-image.php

    r39227 r39392  
    1212<div class="custom-header">
    1313
    14     <div class="custom-header-image">
    15         <?php the_custom_header_markup(); ?>
    16     </div>
     14    <?php if ( has_custom_header() ) : ?>
     15        <div class="custom-header-image">
     16            <?php the_custom_header_markup(); ?>
     17        </div>
     18    <?php endif; ?>
    1719
    1820    <?php get_template_part( 'template-parts/header/site', 'branding' ); ?>
Note: See TracChangeset for help on using the changeset viewer.