WordPress.org

Ready to get started?Download WordPress

Forums

Removing Blank Space Below Header? (4 posts)

  1. carrlander
    Member
    Posted 4 years ago #

    After loads of tinkering I've managed to upload a header to my site, but now there's a sizable amount of blank space below it. Ideally I'd like to remove the blog title and subtitle, make the header clickable, and align it with the content below. Can anybody offer any help on getting rid of the blank space below the header? I am using the theme 'piano black' if that makes any difference.

    The site is: http://www.gamebreakdowns.com if looking at the issue might help!

  2. stormwarestudios
    Member
    Posted 4 years ago #

    http://www.gamebreakdowns.com/wp-content/themes/piano-black/style.css line 44

    Your header image is 95px, but the #header which contains it is 115px.

    Either:
    1) Increase the size of LogoIdea2.png such that its height is 115px, and make the change in style.css, or
    2) Decrease the size of #header to 95px (the quicker solution) in style.css.

  3. kurosquare
    Member
    Posted 4 years ago #

    remove the blog title and subtitle, make the header clickable, and align it with the content below...getting rid of the blank space below the header?

    Remove below code in header.php on line 62 to 66

    <?php else : ?>
    <div id="logo">
    <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a>
    <h1><?php bloginfo('description'); ?></h1>
    </div>

    Modify below code in style.css on line 44
    #header { background:url(img/top.png) no-repeat bottom; height:95px; }
    instead of
    #header { background:url(img/top.png) no-repeat bottom; height:160px; }

  4. dianabyron
    Member
    Posted 3 years ago #

    Hi, I'm also looking to shrink the height of the header on Twenty Ten. For this site I don't want any header image, so on the default no image setting there is a giant white space there - not desirable. I'd like my title to be only just above the nav bar links. How would I do this simply please?

    Should I be tampering with header.php> I found some lines of code that say:
    <img src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" />
    <?php endif; ?>

Topic Closed

This topic has been closed to new replies.

About this Topic