WordPress.org

Ready to get started?Download WordPress

Forums

TwentyEleven Header problem (5 posts)

  1. edaddy
    Member
    Posted 2 years ago #

    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.

    http://vintageconsignor.com/

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

    Thank you

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

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

    for instance:

    dashboard - appearance - header - display text [no]

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

    border-top: none;
    
    margin:none;

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

  3. edaddy
    Member
    Posted 2 years ago #

    That advice felt good. Thank you so much!

  4. edaddy
    Member
    Posted 2 years ago #

    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.
    <?php

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

  5. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic