Support » Fixing WordPress » How to remove the search box

Viewing 4 replies - 1 through 4 (of 4 total)
  • If you’ve already set up a child theme for your site’s modifications, try putting

    .searchform {

    into the child theme’s style.css.

    If you haven’t done that, see for info.

    I didn’t look at Suffusion directly, just at the style information on your site (using Firebug, a Firefox plugin which is invaluable for such things). So let us know if that works.

    Hi Black flamingo

    That search box resides in a widget area called Right Header Widgets. The way that theme is built is if no widgets are active in that widget area the search form will show by default. You can get rid of it via 2 methods:

    1. Place an empty text widget in the Right Header Widgets area, or better yet …
    2. From the theme’s control panel click on Sidebars at the top then Right Header Widgets on the left. From there you have the option to show/hide the search form.

    As an addendum, removing the search form will NOT prevent anyone from manually searching your site. They can still do so by adding ?s=SEARCH&TERMS to the end of your URL.

    To completely disable search you can try Scott’s plugin here.

    Thanks Len, your suggestion works fine. And thanks to you too converting2wp, I actually haven’t set up a child theme yet but I will probably do this in the long run.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to remove the search box’ is closed to new replies.