I'm a dummy and I screwed up the MENU code. HELP
-
Hi there,
I’m totally new to this css thing and was trying to customize my navigation menu to show up ABOVE the site title, but I ended up screwing up how it looks altogether. Can somebody help me get it back to the original theme’s format? OR even better…help me customize it to appear above the site title?
ANY HELP APPRECIATED.
<?php
/**
* Masthead.
*
* This template is used by header.php to display
* all header elements that can be customized via
* the Appearance -> Header screen as well as the
* primary navigation.
*
* @since Forever 1.1
*/
?>
<header id=”masthead” role=”banner”><h1 id=”site-title”>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><?php bloginfo( ‘name’ ); ?></h1>
<?php $header_image = get_header_image(); ?>
<?php if ( ! empty( $header_image ) ) : ?>
” rel=”home”>
<img class=”custom-header-image” src=”<?php header_image(); ?>” width=”<?php echo get_custom_header()->width; ?>” height=”<?php echo get_custom_header()->height; ?>” alt=”” />
<nav id=”access” role=”navigation”>
<h1 class=”assistive-text section-heading”><?php _e( ‘Main menu’, ‘forever’ ); ?></h1><div class=”skip-link assistive-text”>“><?php _e( ‘Skip to content’, ‘forever’ ); ?> </div>
<nav id=”access” role=”navigation”>
<?php wp_nav_menu( apply_filters( ‘forever-primary-menu-args’, array( ‘theme_location’ => ‘primary’ ) ) ); ?>
</nav><!– #access –><?php endif; ?>
</header><!– #masthead –>
- The topic ‘I'm a dummy and I screwed up the MENU code. HELP’ is closed to new replies.