• Resolved cmcalis

    (@cmcalis)


    Goodday,

    I have updated the theme twentyeleven but now I have a searchbox and whitespace above my header. When I remove the searcbox data out of the header.php I have an error.

    Looking for an answer, please help.

    url is: ccgrafischontwerp.nl

Viewing 7 replies - 1 through 7 (of 7 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    What is the entire error message generated?
    What is the entire code you’re removing?

    Thread Starter cmcalis

    (@cmcalis)

    <?php
    				// Has the text been hidden?
    				if ( 'blank' == get_header_textcolor() ) :
    			?>
    				<div class="only-search<?php if ( $header_image ) : ?> with-image<?php endif; ?>">
    				<?php get_search_form(); ?>
    				</div>
    			<?php
    				else :
    			?>
    				<?php get_search_form(); ?>
    			<?php endif; ?>
    Thread Starter cmcalis

    (@cmcalis)

    Okay now it’s working!

    But I have still got the white space above the header!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    That space is there for the site title and description

    Thread Starter cmcalis

    (@cmcalis)

    I know. But I don’t want a title above it. I had removed it before but I was forgotten to make a child theme ??

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Remove the <hgroup> ... </hgroup> bit

    Thread Starter cmcalis

    (@cmcalis)

    Thank you so much Andrew! It worked like a charme ??

    Have a nice weekend!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Remove Searchbox and the white space above the header’ is closed to new replies.