WordPress.org

Ready to get started?Download WordPress

Forums

How to remove the search box (5 posts)

  1. Black flamingo
    Member
    Posted 2 years ago #

    I want to remove the search box. Apologies, I know this has been covered before, but none of the past forums have worked for me.

    The site is http://www.elmoandthestyx.com and my theme is Suffusion. Any other suggestions would be much appreciated, cheers.

  2. converting2wp
    Member
    Posted 2 years ago #

    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.

  3. Len
    Member
    Posted 2 years ago #

    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.

  4. Len
    Member
    Posted 2 years ago #

    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.

  5. Black flamingo
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags