Last active
October 29, 2016 00:55
-
-
Save srikat/42a96dcb7c200123f373ed4222d3c602 to your computer and use it in GitHub Desktop.
How to move Secondary Navigation below Slider in Outreach Pro. http://sridharkatakam.com/move-secondary-navigation-slider-outreach-pro/
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
// Remove the secondary navigation menu on front page | |
add_action( 'genesis_header', 'sk_conditional_secondary_nav' ); | |
function sk_conditional_secondary_nav() { | |
// if we are not on front page, abort. | |
if ( !is_front_page() ) { | |
return; | |
} | |
remove_action( 'genesis_after_header', 'genesis_do_subnav' ); | |
} |
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: #111; | |
} | |
.nav-secondary .wrap { | |
margin-bottom: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment