badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

move menu above header

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22541
    astrid
    Participant

    The header of my site is now located below the header, I wonder how I can move it above the header?

    http://www.enneagram-parterapi.dk/

    #22561

    Hi astrid,

    We have designed our theme this way. It needs code customization. The file is inside theme folder-> library-> structure-> header-extension.php, Before making any changes in the code its highly recommended to make a child theme then only customize the code. So that your content will not be loss while updating to our new version.

    Thank you!

    #22664
    astrid
    Participant

    Thanks. Is this the code I shall move:

    <?php
    if ( has_nav_menu( ‘primary’ ) ) {
    $args = array(
    ‘theme_location’ => ‘primary’,
    ‘container’ => ”,
    ‘items_wrap’ => ‘<ul class=”root”>%3$s’
    );
    echo ‘<nav id=”access” class=”clearfix”>’;
    wp_nav_menu( $args );
    echo ‘</nav><!– #access –>’;
    }
    else {
    echo ‘<nav id=”access” class=”clearfix”>’;
    wp_page_menu( array( ‘menu_class’ => ‘root’ ) );
    echo ‘</nav><!– #access –>’;
    }
    ?>

    #22676

    Hi astrid,

    Yes this code is for the nav menu. Before making any changes in the code first of all you have to create a child theme then only customize the code. So that while updating to our new version your data will be safe.

    Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.