Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #62741
    akuster
    Member

    I need to remove the gray border around images. I found similar threads and tried the code below but had no luck.

    http://kinderhavensandpoint.com/WordPress

    img {
        border: none;
    }
    
    img.wp-post-image { box-shadow: none; }
    
    #content .gallery .gallery-icon img { border: none; }
    #62767
    Sakin
    Keymaster

    @akuster: You can add the following css in “Appearance => Theme Options => Custom CSS” box:

    .featured-image img, 
    .entry-content img, 
    .comment-content img, 
    .widget img, 
    img.header-image, 
    .author-avatar img, 
    img.wp-post-image {
        box-shadow: none;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Get rid of image border in posts’ is closed to new replies.