• Resolved thehappyeater

    (@thehappyeater)


    Hi,
    On my site thehappyeater.com.au I have somehow got 2 search boxes. One at the top on the RHS, and one below the banner.
    I can’t work out how to get rid of the search button above the red banner, is anyone able to help?

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter thehappyeater

    (@thehappyeater)

    A bit more info, I tried going into
    appearance/editor/header.php and removing the lines:

    <div id=”search-form”>
    <?php get_search_form(); ?>

    and it removed the search function but it changed the formatting of the rest of the page for some reason, so everything changed alignment.

    Thanks!

    Thread Starter thehappyeater

    (@thehappyeater)

    haha got it!
    I removed one more line above the code, and it worked.
    Hope someone else might find this useful now!

    Good for you, but are you using a Child Theme to make these kinds of changes? If not, all your changes will be overwritten and lost when the theme is updated – you really don’t want to go there :/ .

    https://codex.www.ads-software.com/Child_Themes

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Two Search Functions’ is closed to new replies.