Created
April 14, 2017 17:29
-
-
Save bigdigital/29ea13a9ba95b59b7926fc89fda746ff to your computer and use it in GitHub Desktop.
The7 Sticky Top Bar and Top bar on Mobile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.top-bar, .top-bar a, .top-bar .mini-nav .customSelect, .top-bar .mini-nav a:hover, .header-bottom-bar a { | |
color: #adb0b6 !important; | |
position: fixed !important; | |
width: 100% !important; | |
background: #fff none repeat center center !important; | |
z-index: 9999 !important; | |
top: 0; | |
} | |
.masthead { | |
margin-top: 30px !important; | |
} | |
.floating-mobile-menu-icon .dt-mobile-menu-icon.floating-btn{ | |
top: 40px !important; | |
} | |
.header-space { | |
display: none !important;; | |
} | |
#page .masthead { | |
transform: translate(0px) !important; | |
} | |
body.admin-bar .top-bar{ | |
top: 32px !important; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
jQuery(document).ready(function($) { | |
$(".masthead .top-bar").appendTo("#page"); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment