No padding, but still get 2 extra pixels under my image widget

  • remike

    #6384

    http://lowcygier.pl/

    In my image widget I set no padding, but my images and ads still don’t look quite right as there is about 2-3 pixels of margin left.

    The only workaround I was able to thing is to set “no border” and same background color. I don’t get the border of the image but still get one from the widget. I currently have:

    #widget_sp_image-5 {
    padding: 0px;
    border: none;
    background-color: rgb(227, 227, 227);
    }

    The problem appears in both text and image widget. How can I get rid of this extra space?

    Prasanna SP

    #34180
    .widget_sp_image {
    box-shadow: none !important;
    }

    remike

    #34181

    Thank you Prasanna – it helped for all the image widgets on my site!

    I can’t get it to work on text widgets though… I tried putting this:

    .textwidget {
    box-shadow: none !important;
    }

    with no success.

    I also but no box-shadow in single text widgets, but did not make change.

    I use text widget for my ads on the sidebar.

    Prasanna SP

    #34182

    Do you want to remove border around images in all widgets?

    .sidebar p img {
    border: none;
    }
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.