I am helping a client upgrade their site from the Education Theme v1 to v2 and one issue that I am trying to figure out is having the background of the navigation bar run across the entire width of the site right now it limits it to the width of the content. In V1 it was running all the way across the page.
Need some help figuring out how to do this. Suggestions? Ideas?
I’m reallllly liking the wider format!
If you delete the following from your functions.php file it will move the nav back to the default genesis_after_header hook and allow for full width. After you make this change, you may need to adjust your CSS.
/** Reposition Primary Navigation */ remove_action( ‘genesis_after_header’, ‘genesis_do_nav’ ); add_action( ‘genesis_before_content_sidebar_wrap’, ‘genesis_do_nav’ ); /** Reposition Secondary Navigation */ remove_action( ‘genesis_after_header’, ‘genesis_do_subnav’ ); add_action( ‘genesis_before_content_sidebar_wrap’, ‘genesis_do_subnav’ );
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.