WordPress.org

Ready to get started?Download WordPress

Forums

Yoko
move menu below banner (2 posts)

  1. cocobubbles
    Member
    Posted 1 year ago #

    Hiya, I'm just wondering how would I go about moving my navigation menu from above my banner to below it? here's the site http://www.eastcoasttravel.ie
    Also I would like to reduce the amount of space that the right sidebar has?

  2. kelemvor
    Member
    Posted 1 year ago #

    I made this change in the header.php file.

    Find this section:

    <nav id="mainnav" class="clearfix">
    	<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
    </nav><!-- end mainnav -->

    And move it down below the lines that say:

    <img src="<?php header_image(); ?>" class="headerimage" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" /><!-- end headerimage -->
    <?php endif; ?>

    but above the line with Div class=clear

    I then also deleted the subnav section since I don't use two menus:

    <nav id="subnav">
    			<?php
    			if (is_nav_menu( 'Sub Menu' ) ) {
    			wp_nav_menu( array('menu' => 'Sub Menu' ));} ?>
    		</nav><!-- end subnav -->

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic