// When there's a custom header image or video, the header offset includes the height of the navigation.
if ( isFrontPage && ( $body.hasClass( 'has-header-image' ) || $body.hasClass( 'has-header-video' ) ) ) {
- headerOffset = $customHeader.innerHeight() - navigationOuterHeight;
+// headerOffset = $customHeader.innerHeight() - navigationOuterHeight;
} else {
- headerOffset = $customHeader.innerHeight();
+// headerOffset = $customHeader.innerHeight();
}
// If the scroll is more than the custom header, set the fixed class.
if ( $( window ).scrollTop() >= headerOffset ) {
- $navigation.addClass( navigationFixedClass );
- $navigationBottom.addClass( navigationFixedClass );
+// $navigation.addClass( navigationFixedClass );
+// $navigationBottom.addClass( navigationFixedClass );
} else {
//$navigation.removeClass( navigationFixedClass );
.main-navigation .menu-item-has-children > a > .icon,
.main-navigation .page_item_has_children > a > .icon,
.main-navigation ul a > .icon {
- display: none;
+ display: block;
}
.main-navigation > div > ul {
padding: 0;
}
@media screen and (max-width: 1024px) {
+
+
+ .home .navigation-top {
+ bottom: auto;
+ position: fixed;
+ left: 0;
+ right: 0;
+ top: 140px;
+ width: 100%;
+ z-index: 7;
+ font-size: 14px;
+ font-size: 0.875rem;
+ padding: 6px;
+ }
+ .home .navigation-bottom {
+ bottom: 0;
+ position: fixed;
+ font-size: 14px;
+ font-size: 0.875rem;
+ left: 0;
+ right: 0;
+ width: 100%;
+ z-index: 7;
+ height: 80px;
+ padding: 6px;
+ background-color: #fff;
+ border-top: 2px solid black;
+ }
+
+ .admin-bar .site-navigation-fixed.navigation-top {
+ top: 32px;
+ }
.has-header-image .custom-header-media img,
.has-header-video .custom-header-media video,
.has-header-video .custom-header-media iframe,
width: 100%;
z-index: 9;
}
- .home .site-navigation-fixed.navigation-top {
- top: 138px;
- padding: 6px;
- }
.home .wrap .static-nav-parent {
left: 0;
position: relative;
.js .home #static-nav-bottom .static-nav-section > ul {
margin: 0;
}
+
}
/*--------------------------------------------------------------
13.0 Layout