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

Props laurelfulford, littlebigthing.

Fixes #38927.


git-svn-id: https://develop.svn.wordpress.org/trunk@39392 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
David A. Kennedy 2016-11-30 23:29:23 +00:00
parent a1af86e001
commit a27570c98a

View File

@ -11,9 +11,11 @@
?>
<div class="custom-header">
<div class="custom-header-image">
<?php the_custom_header_markup(); ?>
</div>
<?php if ( has_custom_header() ) : ?>
<div class="custom-header-image">
<?php the_custom_header_markup(); ?>
</div>
<?php endif; ?>
<?php get_template_part( 'template-parts/header/site', 'branding' ); ?>