Skip to content

Instantly share code, notes, and snippets.

@bigdigital
Created April 14, 2017 17:29
Show Gist options
  • Save bigdigital/29ea13a9ba95b59b7926fc89fda746ff to your computer and use it in GitHub Desktop.
Save bigdigital/29ea13a9ba95b59b7926fc89fda746ff to your computer and use it in GitHub Desktop.
The7 Sticky Top Bar and Top bar on Mobile
.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;
}
<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