Support » Fixing WordPress » Can't delete search box from child theme

  • Resolved NSWP


    I am trying to delete search box from my child theme but it does not seem to work. I’m using Safari/Chrome inspect elements to find what lines to delete. It shows line #35. I delete it in my style.css file and update and it does nothing. Any suggestions?

    site link:

Viewing 2 replies - 1 through 2 (of 2 total)
  • Go to widgets and check if the search widget is active, if it’s not, check sidebar.php and look for something like:

    <form role="search" method="get" id="searchform" action="">
            <input type="text" name="s" id="s" value="Search" onclick="if(this.value == 'Search') this.value='';" onblur="if(this.value == '') this.value='Search';">

    and delete it.

    No luck on the widget suggestion and sidebar.php has nothing like the example you suggested.

    actually… while typing I just tried changing the width and height to 0 px and its gone!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can't delete search box from child theme’ is closed to new replies.