Move secondary nav to show under slider – Executive theme

Community Forums Forums Design Tips and Tricks Move secondary nav to show under slider – Executive theme

This topic is: not resolved

This topic contains 6 replies, has 2 voices, and was last updated by  Anahere 1 year, 2 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #52407

    Anahere
    Participant
    Post count: 21

    Hi,
    I am using executive theme and genesis slider and am trying to move the secondary nav to sit under the slider not above it. I have a custom menu in the header, which is what I want but it means the secondary nav would look better under the slider and above the home middle widgets.
    Can anyone tell me what I need to do?

    http://174.132.169.60/~mobinoma/

    Cheers, A

    http://174.132.169.60/~mobinoma/
    #52408

    nunotmp
    Participant
    Post count: 164

    I am not sure if you are comfortable using the functions.php file but something like this should work

    
    remove_action( 'genesis_after_header', 'genesis_do_subnav' );
    add_action( 'genesis_before_content', 'genesis_do_subnav' );
    

    • This reply was modified 1 year, 2 months ago by  nunotmp.
    • This reply was modified 1 year, 2 months ago by  nunotmp.
    #52410

    Anahere
    Participant
    Post count: 21

    Thanks Nunotmp, will give that a go.
    A.

    #52412

    Anahere
    Participant
    Post count: 21

    Should I be adding the code before or after anything specific? I am presuming this is in the editor area of WP Appearance and not in my Cpanel php admin area.

    #52440

    nunotmp
    Participant
    Post count: 164

    If you are unfamiliar with the functions.php file I would advise not to do it. If you were to accidentally leave out something like a semicolon then your site would break. The code should go at the bottom of your functions.php if you would like to try it out and have ftp access.


    #52528

    Anahere
    Participant
    Post count: 21

    Well, lesson learnt… I broke the site, I have an error message that I have an extra syntax } on line 177.

    I’m in the file manager area of my cpanel and can see functions under WP content themes but now I am not sure if the formatting.php is the place I need to be. Any suggestions?
    Also, how do i know which is line 177?

    A.

    #52529

    Anahere
    Participant
    Post count: 21

    Found the problem… wp content / themes / executive / functions – now all fixed.
    Alas, it looks like I am stuck with the Nav above the slider so I am back to square one.
    Appreciate your help though.
    A.

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

You must be logged in to reply to this topic.