Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Single, small fixed header navbar for WordPress Customizr theme. Thanks to
- http://wordpress.org/support/topic/top-menu-remove-space-for-tagline-social-icons
- http://www.themesandco.com/snippet/make-header-sticky/
- */
- /* reserve space for the fixed header */
- body {
- padding-top: 58px;
- }
- .tc-header {
- position: fixed;
- top: 0px;
- background-color: #fff;
- z-index: 100;
- width: 100%;
- max-height: 58px;
- border-bottom: 1px solid #e9eaee;
- }
- /* navbar site desc remove but keep it for SEO */
- .navbar-wrapper .navbar .site-description {
- position: absolute !important;
- clip: rect(1px, 1px, 1px, 1px);
- }
- /* navbar social remove */
- .navbar-wrapper .navbar .social-block { display: none; }
- /* move the menu trigger button inside the header */
- .navbar.resp .navbar-inner {margin-top: -58px;}
- /* navbar remove gradient background */
- .navbar .navbar-inner {
- background: none;
- box-shadow: none;
- }
- /* smaller brand title */
- .brand h1 a {font-size: 24px;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement