• Resolved cobourg1

    (@coboinho)


    By default, the main navigation bar appears below the site header h1 and site description h2. I would like to move the main navigation bar UP ABOVE the header and description to the very top of the page. Is there a simple CSS code to achieve this?

    Thanks in advance
    Derek

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • create a child theme,
    add a copy of header.php from the parent theme into the child theme,
    edit header.php in the child theme,
    move this section of code:

    		<hgroup>
    			<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
    			<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
    		</hgroup>

    to below this line:
    </nav><!-- #site-navigation -->

    Thread Starter cobourg1

    (@coboinho)

    That’s perfect, thank you very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Move navigation bar to top of site’ is closed to new replies.