Topic: Option to remove search bar from header

i would rather have it as a widget

Thumbs up

Re: Option to remove search bar from header

#searchbar { display: none; }

My Arras themed & Arras related site: NullCore.
Please ask questions about Arras on forum, not through mail, thanks.

Re: Option to remove search bar from header

extatix wrote:

#searchbar { display: none; }

I would also like to remove the search bar. I new to WP and anything this tech. that said I have no idea where to input this code.

Please let me know.

Thanks!

Thumbs up

Re: Option to remove search bar from header

Put it in the user.css located in your theme directory via editor/notepad

Thumbs up

Re: Option to remove search bar from header

thanks! That worked perfectly

Thumbs up

Re: Option to remove search bar from header

extatix wrote:

#searchbar { display: none; }

Cool, I finally found how to remove the searchbar.  sad  Well actually this just hides it and doesn't remove it from the source code. Anyone know how to remove the searchbar the right way?

Last edited by NGP (2011-02-27 15:24:07)

~ my NGP News Blog using the Arras theme. ~

Re: Option to remove search bar from header

NGP wrote:
extatix wrote:

#searchbar { display: none; }

Cool, I finally found how to remove the searchbar.  sad  Well actually this just hides it and doesn't remove it from the source code. Anyone know how to remove the searchbar the right way?

It's much easier to just do it with the CSS, but if you want to remove it from the header.php find:

<div id="searchbar"><?php get_search_form() ?></div>

and remove it.

Last edited by oriolesprospects (2011-02-27 15:31:29)

Re: Option to remove search bar from header

oriolesprospects wrote:
NGP wrote:
extatix wrote:

#searchbar { display: none; }

Cool, I finally found how to remove the searchbar.  sad  Well actually this just hides it and doesn't remove it from the source code. Anyone know how to remove the searchbar the right way?

It's much easier to just do it with the CSS, but if you want to remove it from the header.php find:

<div id="searchbar"><?php get_search_form() ?></div>

and remove it.


I like your tips.Its really helpful.Thanks

Legal Documents

Thumbs up

Re: Option to remove search bar from header

you can go areas and sidebars widget in the theme options, then to Display Area Research widget on the right side of the header, set it to hide the search box ,then you will fix the problem.

Last edited by goicon0211 (2011-03-24 06:41:54)

Thumbs up

Re: Option to remove search bar from header

great removing the code from header.php also worked from me.

is there a way to add an adsense code instead? i would be really grateful if you could tell me !:)

thanks in advance

Thumbs up

Re: Option to remove search bar from header

anyone?  neutral

Thumbs up