Skip to content

Instantly share code, notes, and snippets.

@aleua
Forked from bigdigital/custom css
Created December 5, 2017 22:10
Show Gist options
  • Save aleua/adb80b7111ef23931b755154e79c5662 to your computer and use it in GitHub Desktop.
Save aleua/adb80b7111ef23931b755154e79c5662 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