• Resolved wc_jenifer

    (@wc_jenifer)


    The search box is in the middle of my beautiful header photo and I’d like to remove it completely but I can’t figure out how. Can anyone help with this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • There is a couple of ways to do it.

    First check your Theme
    Sidebars and widget areas
    and se if you have anything related to search that you can uncheck

    Next way is in the files of the child theme.
    In header.php look for:

    <?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; ?>

    Highligt and delete that.

    Or by css

    /* Search Form */
    #branding #searchform {
    	display: none;
    Anonymous User 14251521

    (@anonymized-14251521)

    You can hide the Search bar by going to Appearance –> Customize –> Header Settings –> General Settings.

    There is a check box to hide the search bar there ??

    Thread Starter wc_jenifer

    (@wc_jenifer)

    Got it all figured out. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Search Box in Header’ is closed to new replies.