Support » Themes and Templates » TwentyEleven Header problem

TwentyEleven Header problem

  • I’m using the TwentyEleven theme. I was able to modify my header height size. I need help with closing the gap that I have between the border and the header.


    What do I need to do to get rid of the white space?

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Michael


    Forum Moderator

    try and remove the site title and description, not just by not adding them into settings – general

    for instance:

    dashboard – appearance – headerdisplay text [no]

    and remove these stray characters from the child theme’s style.css

    border-top: none;

    and add display: none; to the #site-title style

    That advice felt good. Thank you so much!

    I have another question concerning the header. I was able to modify my header height size by modifying the function.php page at the root. when I tried modifying my child function.php page the changes were not recognized.

    How can I resolve that issue?

    This is the code I used for my child function.php file.

    // The height and width of your custom header.
    // Add a filter to twentyeleven_header_image_width and twentyeleven_header_image_height to change these values.
    define( ‘HEADER_IMAGE_WIDTH’, apply_filters( ‘twentyeleven_header_image_width’, 1000 ) );
    define( ‘HEADER_IMAGE_HEIGHT’, apply_filters( ‘twentyeleven_header_image_height’, 100 ) );

    Moderator Michael


    Forum Moderator

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘TwentyEleven Header problem’ is closed to new replies.