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:
parent
8a3192234d
commit
2124943c71
|
@ -11,9 +11,11 @@
|
||||||
?>
|
?>
|
||||||
<div class="custom-header">
|
<div class="custom-header">
|
||||||
|
|
||||||
<div class="custom-header-image">
|
<?php if ( has_custom_header() ) : ?>
|
||||||
<?php the_custom_header_markup(); ?>
|
<div class="custom-header-image">
|
||||||
</div>
|
<?php the_custom_header_markup(); ?>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php get_template_part( 'template-parts/header/site', 'branding' ); ?>
|
<?php get_template_part( 'template-parts/header/site', 'branding' ); ?>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue