WordPress.org

Ready to get started?Download WordPress

Forums

Mystique
[resolved] [theme: Mystique] mysterious white padding around textbox images (3 posts)

  1. inversionsinc
    Member
    Posted 2 years ago #

    Hey all,

    Here's my link to the problem page:
    http://www.inversionsinc.com/members/starter-kit/chapter-1/

    See all those video images in the textbox in my left sidebar?

    Why do they have whitespace around them???

    I don't know much about CSS, but by searching google I found some things to try, which have not yet solved my problem. So, to the bottom of my CSS sheet, I have already added:

    /* =Stuff Daniel has added
    -------------------------------------------------------------- */

    .textwidget img { border: 0; margin: 0; padding: 0px 0px 0px 0px !important; }
    .textwidget div { padding: 0px 0px 0px 0px !important; }
    .textwidget p { border: 0; margin: 0; padding: 0px 0px 0px 0px !important; }
    .textwidget br { border: 0; margin: 0; padding: 0px 0px 0px 0px !important; }
    .textwidget div { border: 0; margin: 0; padding: 0px 0px 0px 0px !important; }
    .sidebar1 .BlockContent-body {margin:0;}
    .sidebar1 .BlockContent-body .textwidget p {margin:0;padding:0;}

    But no luck. What's causing it? I also noticed that using table/tr/td tags didn't format so well, so I've abandoned that in the textbox for now ~ let me know if there's a similar fix to enable table formatting to act normally.

    Thanks!
    ~Daniel

    http://wordpress.org/extend/themes/mystique/

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    the images are square 256px and scaled to 120px wide; if any white space, it is probably in the original image.

    besides, the 'whitespace' is difficult to determine with the background in white as well.

  3. inversionsinc
    Member
    Posted 2 years ago #

    Ah, alchymyth you clued me into exactly what was going on.

    DUH. Awesome. The PNG image had some extra blank/transparent space around the graphic itself.

    Phew! Thanks!
    ~DT

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags