WordPress.org

Support

Support » Themes and Templates » [Resolved] Padding on images in gallery

[Resolved] Padding on images in gallery

  • 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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Padding on images in gallery’ is closed to new replies.
Skip to toolbar