Viewing 2 replies - 1 through 2 (of 2 total)
  • The easiest way to create a child theme and copy the header.php file into the child theme.

    look for the navigation section in the header.php file

    <?php if ( has_nav_menu( 'primary' ) || has_nav_menu( 'secondary' ) ) : ?>
    				<div id="site-navigation" class="header-navigation">
    					<button class="menu-toggle" aria-expanded="false"><?php _e( 'Menu', 'edin' ); ?></button>
    					<div class="navigation-wrapper clear">
    						<?php if ( has_nav_menu( 'secondary' ) ) : ?>
    							<nav class="secondary-navigation" role="navigation">
    								<?php
    									wp_nav_menu( array(
    										'theme_location'  => 'secondary',
    										'container_class' => 'menu-secondary',
    										'menu_class'      => 'clear',
    										'depth'           => 1,
    									) );
    								?>
    							</nav><!-- .secondary-navigation -->
    						<?php endif; ?>
    						<?php if ( has_nav_menu( 'primary' ) ) : ?>
    							<nav class="primary-navigation" role="navigation">
    								<?php
    									wp_nav_menu( array(
    										'theme_location'  => 'primary',
    										'container_class' => 'menu-primary',
    										'menu_class'      => 'clear',
    									) );
    								?>
    							</nav><!-- .primary-navigation -->
    						<?php endif; ?>
    					</div><!-- .navigation-wrapper -->
    				</div><!-- #site-navigation -->

    You will need to cut and paste the code directly under the header section which will look like this.

    <div class="header-wrapper clear">

    save the changes and view it to see if it what you want.

    Sorry didn’t look at the question right.

    The above solution will only move the menu bar. But, there are other problems the header is being adjusted with media queries so it would have to be repositioned in in each media query. Have to look at it later

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Menu on top’ is closed to new replies.