A simple guide on how to reposition genesis navigation. In this guide you will find two different function, first for primary and second for secondary. Its really easy to implement. What you just need is Genesis theme framework and a child theme. Then simply move to your function.php file and put the required code. I wish I am very clear.
Reposition Genesis Navigation Easily
Below is the function to replace your primary navigation. Just copy and paste the code in your function.php file.
/** Reposition the primary navigation */ remove_action( 'genesis_after_header', 'genesis_do_nav' ); add_action( 'genesis_before_header', 'genesis_do_nav' );
Below is the code to reposition secondary navigation in your genesis theme.
/** Reposition the secondary navigation */ remove_action( 'genesis_after_header', 'genesis_do_subnav' ); add_action( 'genesis_before_header', 'genesis_do_subnav' );
The codes provided above will reposition your navigation bars before the header : ” genesis_after_header “. But if you want to place in some different area, then you have to use the Genesis hooks.
Say you want to place your navigation above post, then we will just replace the ” genesis_after_header ” with ” genesis_before_post . You can grab the list of hooks from { Hook Reference }. I wish I was able to help you with your work. If you have any questions, then put it in comment area.











hi i love your work and you blog, i know is a gnesis theme, could you tell me which theme did you use for this blog, keep up the googd work.
thanks
Its the custom build genesis theme. I have design this child theme.
I loved your theme. he looks very cute and i’ll try creating something like this.
Sure you may, but remember that the site content and the design is copyright to me.