Move Nav div into Header div

Community Forums Forums Design Tips and Tricks Move Nav div into Header div

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  optimus203 2 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #72713


    I see this code in the snippets, but this move the menu to the top of the Header div. I would like to reposition the Nav div so that it sits within the Header div but below the logo. Using the Outreach theme if that matters.

    remove_action( 'genesis_after_header', 'genesis_do_nav' );
    add_action( 'genesis_before_header', 'genesis_do_nav' );


    I think you want to change genesis_before_header to just genesis_header, but you may need to also add a priority number to the line as well. Possibly:

    add_action( 'genesis_header', 'genesis_do_nav', 10 );

    10 is just a guess–you may have to try different numbers–a larger number would move it lower down in the header.

    Here’s a Visual Hook Guide which might be really helpful.


    I do the best I can with what I’ve got. (say hey on twitter)



    That worked. Thanks Robin!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Move Nav div into Header div’ is closed to new replies.