• I went to all the trouble to create a child theme for twenty eleven, made the HUGE mistake of updating the default theme, which changed my child theme too, so I lost all the theme changes made.

    https://www.texastinyhomes.com

    Pretty frustrating. Now I’m back to square one, resolving issues all over again.

    How do i remove the search box in the menu bar? Its been so long ago since i had removed it that can’t recall or find a help for it.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter BDSDallas

    (@bdsdallas)

    Search bar in menu was resolved found the solution

    remove the following from the header PHP file.

    1. go to dashboard, then find editor in settings, locate the header php file, then remove the following, which located down near the bottom of file. Then click save file.

    <?php
    // Has the text been hidden?
    if ( ‘blank’ == get_header_textcolor() ) :
    ?>
    <div class=”only-search<?php if ( $header_image ) : ?> with-image<?php endif; ?>”>

    <?php
    else :
    ?>
    <?php get_search_form(); ?>
    <?php endif; ?>

    Updating a parent theme won’t make any changes to a child theme, so I have a feeling that there’s something else going on.

    When you made your changes, did you do these to files inside your child theme, or to the files of your parent theme? From what you’ve said it sounds like you’ve made them to the files in the parent theme, but I could be wrong.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘My Child Theme Didn't Protect Theme Changes Made’ is closed to new replies.