The MENU button is always there..
-
Hi,I created a custom header file for some custome pages I have. And by that, the MENU button in the header is always visible. Frustrating. Here is my header code:
<div id="page" class="hfeed site"> <div id="logohold"> <header id="masthead" class="site-header" role="banner"> <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> <!.. HERE ARE MY INSERTIONS---> <div class="logoboks"><a href="http://www.linktothe.blog" title="hjem" border="0"><img src="<?php bloginfo('stylesheet_directory'); ?>/grafikk/penn.png" alt="" width="505" height="76" /></a></div> <div class="badge"><a href="http://www.anotherlink.there/" border"0" title="A title" target="_blank"><img src="<?php bloginfo('stylesheet_directory'); ?>/grafikk/badge.png" alt="" width="103" height="150" /></a></div> <div id="logoholdsok"><div id="sokbunn"><?php include (get_stylesheet_directory() . '/sidebar-hodesok.php'); ?></div></div> <!-- AND HERE THEY END--> <nav id="site-navigation" class="main-navigation" role="navigation"> <h3 class="menu-toggle"><?php _e( 'Menu', 'twentytwelve' ); ?></h3> <div class="skip-link assistive-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentytwelve' ); ?>"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a></div> <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?> </nav><!-- #site-navigation --> <?php $header_image = get_header_image(); if ( ! empty( $header_image ) ) : ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" /></a> <?php endif; ?> </header><!-- #masthead --> </div> <div id="main" class="wrapper">
Viewing 1 replies (of 1 total)
-
I don’t have the slightest idea why, but now it’s gone.
Viewing 1 replies (of 1 total)
- The topic ‘The MENU button is always there..’ is closed to new replies.