WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Padding on images in gallery (2 posts)

  1. apachez
    Member
    Posted 2 years ago #

    Hi,

    When editing my images on my pages, there is a padding that is not easily removed.

    /* Image borders */
    img[class*="align"],
    img[class*="wp-image-"],
    #content .gallery .gallery-icon img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
    	border: 1px solid #ddd;
    	padding: 6px;
    }

    Isn't it just to set the padding to 0 and the padding in the gallery will be removed?

    The picture linked is when hovering over an image on a page, showing a gray padding, which is my problem. http://data.fuskbugg.se/skalman02/4e622330c752e_border.jpg

    I'm running the TwentyEleven (child) theme.

    Regards,
    Apachez

  2. apachez
    Member
    Posted 2 years ago #

    Fixed.

Topic Closed

This topic has been closed to new replies.

About this Topic