Last active
May 9, 2017 23:27
-
-
Save srikat/7576254 to your computer and use it in GitHub Desktop.
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
add_action( 'wp_enqueue_scripts', 'custom_enqueue_script' ); | |
function custom_enqueue_script() { | |
wp_enqueue_script( 'sticky-nav', get_stylesheet_directory_uri() . '/js/sticky-nav.js', array( 'jquery' ), '', true ); | |
} |
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
.nav-secondary { | |
background-color: #333; | |
border-bottom: 1px solid #111; | |
border-top: 1px solid #111; | |
clear: both; | |
display: none; | |
position: fixed; | |
top: 0; | |
width: 100%; | |
z-index: 999; | |
} | |
.admin-bar .nav-secondary { | |
top: 28px; | |
} | |
.nav-secondary .genesis-nav-menu a:hover { | |
color: #fff; | |
} | |
.nav-secondary .genesis-nav-menu li li a:hover { | |
color: #000; | |
} | |
.menu-secondary > li:first-child a { | |
background: url("images/fixed-menu-logo.gif") no-repeat center center; | |
margin-right: 10px; | |
margin-right: 1rem; | |
text-indent: -9999px; | |
width: 180px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment