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

  1. Robin W
    Posted 2 years 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 2 years ago #

    #wrapper { overflow:hidden; }

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

  3. CSWebmaster
    Posted 2 years 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 2 years ago #

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

  5. Robin W
    Posted 2 years ago #

    all done

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.