Viewing 8 replies - 16 through 23 (of 23 total)
  • esmi

    (@esmi)

    Glad I could help. ??

    Thread Starter jimschn

    (@jimschn)

    OK, esmi…I get that. So I create the child, but then, going back to my original question, how do I eliminate the black navigation bar that sits right under the header graphic?

    esmi

    (@esmi)

    You need place a copy of the original header.php file in your child theme, then edit the child’s copy and remove:

    <div id="access" role="navigation">
      <?php /*  Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?>
    	<div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div>
    	<?php /* Our navigation menu.  If one isn't filled out, wp_nav_menu falls back to wp_page_menu.  The menu assiged to the primary position is the one used.  If none is assigned, the menu with the lowest ID is used.  */ ?>
    	<?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
    </div><!-- #access -->
    Thread Starter jimschn

    (@jimschn)

    ok…I’ll do that and let you know. Thanks

    Thread Starter jimschn

    (@jimschn)

    Thanks, esmi, between what you posted and a couple of you tube vids, I got what I needed. Appreciate the help.

    You’re welcome.

    Thread Starter jimschn

    (@jimschn)

    A follow up question, please…at the bottom of the site (https://www.bendhomeservices.com/) there are three links linking to WP, SimpleScripts, and Hosting. If I want to edit the Hosting link (with my link), do I need to do it in the child, and which file should I edit?

    I’m now using a child theme and removed the section of code you listed above. But the black navigation bar still shows up. There seems to be another step that needs to be done. Any suggestions? I’m not finding anything on Youtube. Thanks.

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Remove top menu bar from 2010 Theme’ is closed to new replies.