Is it possible to place the secundary menu in the top of the primary sidebar, but this only for screens wider than 800px?
In smaller screens I prefer the secundairy menu to show up after the header.
I guess I need some code for this in functions.php.
Is that right? I should love it if sombody can help me with this code snippet?
/** Move secondary nav menu */ remove_action( 'genesis_after_header', 'genesis_do_subnav' ); add_action( 'genesis_sidebar', 'genesis_do_subnav', 1 );
Put the above code in your functions.php file to move the secondary navigation into the primary sidebar. You can then use media queries to style it for the various browser sizes.
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.