WordPress.org

Support

Support » How-To and Troubleshooting » How to remove the search box

How to remove the search box

Viewing 4 replies - 1 through 4 (of 4 total)
  • converting2wp
    Participant

    @converting2wp

    If you’ve already set up a child theme for your site’s modifications, try putting

    .searchform {
    display:none;
    }

    into the child theme’s style.css.

    If you haven’t done that, see http://codex.wordpress.org/Child_Themes 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.

    Black flamingo
    Member

    @black-flamingo

    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.