Support » Fixing WordPress » image casuing white to bleed onto site background

  • Resolved Robin W


    I have a logo that I have added to the header in my child twentyten theme – it the oldspot logo on the right of the header text.

    It bleeds white into the site background – creating an annoying white square to the right of it.

    The line of code in my header.php which adds this logo is

    <div><a href="/wp-content/uploads/2013/03/logo.png"><img class="logo" src="/wp-content/uploads/2013/03/logo.png" /></a></div>

    and the logo class css in style looks like

    .logo {

    Is there anything I can add to this class that would fix the white square?

Viewing 4 replies - 1 through 4 (of 4 total)
  • #wrapper { overflow:hidden; }

    anything that is sticking out, or contained outside of the #wrapper div, will be hidden.

    It looks like you’ve got two “wrapper” and two “header” divs in your header file. I’m guessing this is causing the white block issue.

    Play about with removing one of each (making sure the closing div tags are also removed) to see if it removes the white block.

    Thanks CS webmaster – was as you said – problem now fixed !

    all done

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘image casuing white to bleed onto site background’ is closed to new replies.