<?php if ( has_nav_menu( 'top' ) ) : ?>
- <div class="navigation-top">
+ <div class="navigation-top site-navigation-fixed">
<div class="wrap">
<?php get_template_part( 'template-parts/navigation/navigation', 'top' ); ?>
</div><!-- .wrap -->
@media screen and (max-width: 1024px) {
- .home .navigation-top {
+ .home .site-navigation-fixed.navigation-top {
bottom: auto;
position: fixed;
left: 0;
z-index: 7;
font-size: 14px;
font-size: 0.875rem;
- padding: 6px;
}
- .home .navigation-bottom {
+ .home .site-navigation-fixed.navigation-bottom {
bottom: 0;
position: fixed;
font-size: 14px;
width: 100%;
z-index: 7;
height: 80px;
- padding: 6px;
background-color: #fff;
border-top: 2px solid black;
}
.has-header-video .custom-header-media iframe,
.has-header-image:not(.twentyseventeen-front-page):not(.home)
.custom-header-media img {
- display: none;
+ //display: none;
+ }
+ .custom-header-media {
+ position: relative;
+ }
+ .home .has-header-image .custom-header-media img,
+ .home .has-header-video .custom-header-media video,
+ .home .has-header-video .custom-header-media iframe {
+ position: fixed;
+ height: auto;
+ left: 50%;
+ margin-top: 140px;
}
.home .top-nav-left {
max-width: 100%;
font-size: 30px;
padding: 0 10px;
}
+ .home .static-nav-section {
+ padding: 6px;
+ }
.home .static-nav-section > ul > li {
font-size: 16px;
padding: 0;
-webkit-transition: margin-bottom 0.2s;
transition: margin-bottom 0.2s;
z-index: 3;
+ display: none;
}
.site-branding a {
.has-header-video.twentyseventeen-front-page .site-branding,
.has-header-image.home.blog .site-branding,
.has-header-video.home.blog .site-branding {
- display: table-cell;
+ display: none;
height: 100%;
vertical-align: bottom;
}
.has-header-image.home.blog .site-branding,
.has-header-video.home.blog .site-branding {
bottom: 0;
- display: block;
+ display: none;
left: 0;
height: auto;
padding-top: 0;
width: 100%;
z-index: 7;
height: 80px;
- padding: 6px;
}
.admin-bar .site-navigation-fixed.navigation-top {