WordPress.org

Ready to get started?Download WordPress

Forums

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

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

    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 8 months ago #

    #wrapper { overflow:hidden; }

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

  3. CSWebmaster
    Member
    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
    Member
    Posted 8 months ago #

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

  5. Robin W
    Member
    Posted 8 months ago #

    all done

Reply

You must log in to post.

About this Topic

Tags

No tags yet.