Move Secondary Nav Menu in News Theme

Community Forums Forums Design Tips and Tricks Move Secondary Nav Menu in News Theme

This topic is: not resolved

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

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

    WendyYohe
    Participant
    Post count: 14

    I added an extra widget area above the header per Nick the Geek’s tutorial. Now I’d like to move the secondary nav menu to just above the header and below the new widget area.

    How can I do this?

     

    Wendy
    Johnstown360.com

    #18482

    media317
    Participant
    Post count: 52

    Which tutorial of Nick’s did you use?  You should be able to change the add_action to position the widget area before the subnav and the code should work.


    Alan Smith
    Media317

    #18969

    WendyYohe
    Participant
    Post count: 14

    This is the tutorial I used – http://designsbynickthegeek.com/tutorials/add-widgeted-sidebar

    and this is the specific code I used -

    genesis_register_sidebar( array(
    ‘id’        => ‘before-header-ad’,
    ‘name’      => ‘Before Header Ad’,
    ‘description’   => ‘This is a sidebar that goes before the header.’,
    ) );
    add_action( ‘genesis_before’, ‘child_before_header_ad_sidebar’ );
    /** Loads a new sidebar before the #wrap */
    function child_before_header_ad_sidebar() {

    echo ‘<div class=”before-header-ad”>’;
    dynamic_sidebar( ‘before-header-ad’ );
    echo ‘</div>’;

    }

    Not really sure how I should edit add_action to make it move the secondary nav to below the widget area.

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

You must be logged in to reply to this topic.