Title: Remove header search?
Last modified: August 22, 2016

---

# Remove header search?

 *  Resolved [mikeadamski26](https://wordpress.org/support/users/madamski/)
 * (@madamski)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/remove-header-search/)
 * Great theme, but how do I get rid of that HUGE header with the search? My website
   won’t need a search, and it’s just too bulky for what I’m trying to do.
 * Thank you!
 * [http://www.mikeadamski.com](http://www.mikeadamski.com)

Viewing 1 replies (of 1 total)

 *  [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/remove-header-search/#post-5684583)
 * Hi,
 * You can create a child theme and remove the following lines from header.php file:
 *     ```
       <div class="search-header">
       <?php
       add_filter( 'get_search_form', 'cwp_search_form_header' );
       get_search_form();
       remove_filter( 'get_search_form', 'cwp_search_form_header' );
       ?>
       </div>
       ```
   
 * Here’s how to create a child theme: [http://codex.wordpress.org/Child_Themes](http://codex.wordpress.org/Child_Themes)
   🙂
 * Regards,
    Hardeep

Viewing 1 replies (of 1 total)

The topic ‘Remove header search?’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/cwp-youit/1.2.2/screenshot.png)
 * CWP-YouIT
 * [Support Threads](https://wordpress.org/support/theme/cwp-youit/)
 * [Active Topics](https://wordpress.org/support/theme/cwp-youit/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/cwp-youit/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/cwp-youit/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/remove-header-search/#post-5684583)
 * Status: resolved