I need more space in my menu so I'd like to remove the search box in the menu. Can anyone tell me how to do that please.
Thanks in advance.
Greg
I need more space in my menu so I'd like to remove the search box in the menu. Can anyone tell me how to do that please.
Thanks in advance.
Greg
The only search box I found was in the header. Try removing this conditional statement from the header.php file -
<?php
// Has the text been hidden?
if ( 'blank' == get_header_textcolor() ) :
?>
<div class="only-search<?php if ( ! empty( $header_image ) ) : ?> with-image<?php endif; ?>">
<?php get_search_form(); ?>
</div>
<?php
else :
?>
<?php get_search_form(); ?>
<?php endif; ?>Thanks - I'll give it a try.
Yea - worked perfectly - Thanks David - I really appreciate your help.
Using the plugin "Twenty Eleven Theme Extensions" I was able to over write the CSS:
#branding #searchform {
display:none;
}
#branding .only-search + #access div {
padding-right: 0px;
}
This solution is also upgrade safe.
HTH
This topic has been closed to new replies.