Reposition Primary Navigation

Community Forums Forums Design Tips and Tricks Reposition Primary Navigation

This topic is: not resolved

This topic contains 4 replies, has 3 voices, and was last updated by  digitgirl2 6 months, 1 week ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #42943

    mazher
    Participant
    Post count: 1

    Hi All,

    I need to reposition my Primary Navigation thats appearing on the top to immediately below the header and then the secondary navigation.

    I have added these lines at the end of my functions.php in the lifestyle theme

    remove_action( ‘genesis_after_header’, ‘genesis_do_nav’ );
    add_action( ‘genesis_before_header’, ‘genesis_do_nav’ );

    Still not having any luck

    Also I have made Privacy Policy page private. Any idea how it can be shown in the footer.

    Thanks in advance.

    AB

    http://www.acnecureinformation.com
    #43032

    braddalton
    Participant
    Post count: 8868

    I think you need to change the hook positions in the code.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #43064

    mazher
    Participant
    Post count: 1

    Braddalton , Extremel thankful to you for the reply.

    I have used these at the end of functions.php but still no luck

    add_theme_support( ‘genesis-menus’, array( ‘secondary’ => __( ‘Secondary Navigation Menu’, ‘genesis’ ) ) );

    remove_action( ‘genesis_after_header’, ‘genesis_do_nav’ );

    add_action( ‘genesis_before_header’, ‘genesis_do_nav’ );

    Can u please tell me what I am doing wrong as the top menu has disappeared.
    
    Thanks in advance.
    
    AB
    #43157

    braddalton
    Participant
    Post count: 8868

    You can remove the code and it should reappear so no major drama’s.

    Try this:
    [php]
    remove_action( ‘genesis_before_header’, ‘genesis_do_nav’ );
    add_action( ‘genesis_after_header’, ‘genesis_do_nav’, 5 );
    [/php]
    Otherwise, here’s the code from StudioPress.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #85571

    digitgirl2
    Participant
    Post count: 20

    Hello,

    I used Brads code as the studio press did nothing, but now the nav is above and below. I’d like it to only be below.

    Here is the test site: http://ricostudios.com/USAuctions/

    Thanks,
    Robin


    http://www.CPRMedia.net | WordPress Design

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

You must be logged in to reply to this topic.