customizing CCS for picture borders

  • Unknown's avatar

    I’m trying to remove the border from the images in twenty eleven. I want to eliminate borders for all of my future posts. How exactly do I do that?

    The blog I need help with is: (visible only to logged in users)

  • Just add zero padding rule to your existing CSS as following:

    img[class*="align"],img[class*="wp-image-"],#content .gallery .gallery-icon img{
        border:none;
        padding:0;
    }

    You already have the selector in your custom CSS. So just add padding:0; rule to it so the complete CSS is as above.

  • The topic ‘customizing CCS for picture borders’ is closed to new replies.