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

Props laurelfulford, littlebigthing.

Merges [39392] to the 4.7 branch.
Fixes #38927 for 4.7.


git-svn-id: https://develop.svn.wordpress.org/branches/4.7@39394 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi 2016-11-30 23:38:54 +00:00
parent 8a3192234d
commit 2124943c71
1 changed files with 5 additions and 3 deletions

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' ); ?>