WordPress.org

Forums

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

  1. Robin W
    Member
    Posted 1 year 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.

    gos.rewweb.co.uk

    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 {
        float:right;
    	}

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

  2. Evan Herman
    Member
    Posted 1 year ago #

    #wrapper { overflow:hidden; }

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

  3. CSWebmaster
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

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

  5. Robin W
    Member
    Posted 1 year ago #

    all done

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.