Ready to get started?Download WordPress


[resolved] image casuing white to bleed onto site background (5 posts)

  1. Robin W
    Posted 8 months ago #

    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?

  2. Evan Herman
    Posted 8 months ago #

    #wrapper { overflow:hidden; }

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

  3. CSWebmaster
    Posted 8 months ago #

    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.

  4. Robin W
    Posted 8 months ago #

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

  5. Robin W
    Posted 8 months ago #

    all done


You must log in to post.

About this Topic


No tags yet.