Skip to content

Instantly share code, notes, and snippets.

@fenriz07
Created November 9, 2018 03:44
Show Gist options
  • Save fenriz07/cd2dadb1cdfb1f602bcd20401fcdc605 to your computer and use it in GitHub Desktop.
Save fenriz07/cd2dadb1cdfb1f602bcd20401fcdc605 to your computer and use it in GitHub Desktop.
The 7 Stiky Top Bar CSS
.top-bar, .top-bar a, .top-bar .mini-nav .customSelect, .top-bar .mini-nav a:hover, .header-bottom-bar a {
color: white !important;
position: fixed !important;
width: 100% !important;
background: red none repeat center center !important;
z-index: 99 !important;
top: 0;
}
.masthead {
margin-top: 29px !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;
}
.mini-contacts{
z-index: 100;
margin-left: 4%;
}
.mini-contacts > a{
margin-top: 0.4%;
}
.left-widgets.mini-widgets{
margin-left: 3.2%;
}
.mini-contacts.email{
margin-left: 14%
}
.right-widgets.mini-widgets{
margin-right: 3.2%;
}
.left-widgets.mini-widgets p{
color:white
}
.right-widgets.mini-widgets span{
color: white
}
jQuery(".masthead .top-bar").appendTo("#page");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment