Move the secondary navigation outside of the main wrapper

Community Forums Forums Design Tips and Tricks Move the secondary navigation outside of the main wrapper

This topic is: resolved

This topic contains 2 replies, has 1 voice, and was last updated by  Lynsey 1 year ago.

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

    Lynsey
    Participant
    Post count: 39

    Hi, i am wondering how i can move the primary and secondary navigation menu outside of the main wrapper so the width is 100% of the page?

    I did get it to work but it shows a double menu http://upperclass.shinymagic.com/

    I used the code

    remove_action( ‘genesis_after_wrap’, ‘genesis_do_nav’ );
    add_action( ‘genesis_before’, ‘genesis_do_nav’ );

    • This topic was modified 1 year ago by  Lynsey.
    • This topic was modified 1 year ago by  Lynsey.
    #65308

    Lynsey
    Participant
    Post count: 39

    Okay i have it moved outside the wrap the only problem is that it is now duplicated?

    #65309

    Lynsey
    Participant
    Post count: 39

    Okay solved it, guess i’m a little brainier than i thought

    remove_action( ‘genesis_before_header’, ‘genesis_do_nav’ );

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

The topic ‘Move the secondary navigation outside of the main wrapper’ is closed to new replies.