• efisher82

    (@efisher82)


    I am using The Morning after theme v3.2.4 (downloaded from wp.com, not current version). I have inserted a logo manually within the logo div in the header.php file. For some reason there is extra whitespace under the bottom of the logo image (looks like about 1 em). The inspector shows this as being within the <a> but not within <img>. It doesn’t look too bad right now but I have a larger logo I want to change to that makes the extra space more noticeable. I am willing to update the theme IF that is absolutely necessary (looks like this may have been fixed in 3.3.0). Site is https://thelightningrod.net…look with your HTML source inspector.

    My code, in header.php:

    <div id="logo" class="column first">
    <a href="https://thelightningrod.net" title="Front Page">
    <img src="https://thelightningrod.net/wp-content/themes/themorningafter-wpcom/images/bg/sitelogo.png">
    </img></a></div>

Viewing 2 replies - 1 through 2 (of 2 total)
  • batharoy

    (@batharoy)

    #logo > a > img {
        margin: 0;
    }
    Thread Starter efisher82

    (@efisher82)

    That didn’t eliminate the extra <a> line but reduced the whitespace between it and the logo. So effective anyway. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Whitespace under logo div in The Morning After’ is closed to new replies.