Removing the search bar

Latest Reply from Alice at 2014-10-29 01:37:08
Hi,

What code do I need to remove or edit to get rid of the search bar from the 'Jazz' theme? I want to remove the search bar from both the desktop and mobile versions of my site.

Thanks,
Will.
Hi!
You have to remove code
<div class="menusearch" title="">
<?php get_search_form(); ?>
</div>

from the header.php file
Thanks for helping Alice, that did get rid of the search box and looks great on the desktop version of my site. However, the problem I now have is that if I view my site on a smartphone the "Go to" menu bar moves up, above where the search box used to be, and half disappears behind my header logo.
Hi!
It would better to visit your website to help you. However, I can suggest you to increase margin in the following code:
#logo {
margin-top: 5px;
margin-bottom: -35px;
}

You can find this code in the style.css file.

Leave a reply

Add codeAdd image