type="text/css" />

How to remove / hide Search Box from WordPress Twenty Eleven theme?

In my opinion Twenty Eleven theme is really getting good response from self-hosted WordPress community. Everyday I am getting new customization tips requests for Twenty Eleven theme. Here is another small customization tips Twenty Eleven theme requested by one of our readers.

Remove Search box from Twenty Eleven theme

If you want to remove the search box from Twenty Eleven theme, go to Dashboard > Appearance > Editor. Now select header.php file and the following piece of code:

<?php get_search_form(
; ?>

You should find it twice, remove both occurrences and save the changes.

Hide Search box from Twenty Eleven theme

Did you read your last post on Twenty Eleven child theme? I am going to show you how you can use your child theme to hide the search box. Go to Dashboard > Appearance > Editor and select the style.css of your child theme. Add the following piece of CSS code in that file.

#searchform { display
; }

That’s it.

Jinnat Ul Hasan

By Jinnat Ul Hasan | On Tuesday, July 26th, 2011 | Under How To's | 13 Comments »


Contact our experts, most of the time we assist our readers free of charge.

Those who found this page were searching for:

  • turning off search in twenty eleven wordpress
  • twenty eleven menù
  • remove search box on wp
  • wordpress twenty eleven removing search bar
  • remove search bar in wordpress 2011
  • how to remove "proudly powered by wordpress" from twenty eleven
  • wp theme twenty eleven hide search box
  • get rid of proudly powered by wordpress twenty eleven theme?
  • wp+how to hide search bar in content
  • remove search from home page on wordpress

Previous post:

Next post: