Black flamingo
Member
Posted 1 year 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.
converting2wp
Member
Posted 1 year 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.
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
Posted 1 year 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.