• Hi there,

    Been trying to get rid of the searchbar on top of the page.
    Can’t figure out what to delete and where. Tried several things, but without any luck.

    I hope anyone can help me out.

    Thanks in advance.

    Kindest regards
    Petra
    https://www.petrabaars.nl

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter peppiedegekste

    (@peppiedegekste)

    To be precize… the searchicon needs to be removed.

    I need it too. I tried to find which .php has the line for changing exactly search icon to a new icon. Someone?

    I found by myself. You can delete search icon on header.php .
    These lines should be removed:

    <div class="top-search-icon col-md-1">
    	<i class="fa fa-search"></i>
    </div>

    No! Do not edit the theme itself. First create a child theme for your changes.

    In the Fifteen theme, go to Appearance and select Editor. Choose the Search Form (search.php) file under Templates and delete the code within it. Select Update File at the bottom. This will remove the search bar in the main area of your site.

    If you want to delete the header search bar as well, choose the searchform-top.php file (again under Templates) and delete the code. Again, hit Update File. This removes the second search bar at the header level.

    Always test this in child theme mode first ?? Good luck!

    Thread Starter peppiedegekste

    (@peppiedegekste)

    Thank you so much !

    It worked, but still the search icon is visible in the right upper corner.
    any idea where I can delete that one ?

    Thanks again !!!

    Thread Starter peppiedegekste

    (@peppiedegekste)

    By the way… what Bleede mentioned didn’t work for me unfortunately.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Deleting Searchbar in topmenu’ is closed to new replies.