WordPress.org

Ready to get started?Download WordPress

Forums

how to remove gray bkgd and hairline around embedded images? (4 posts)

  1. flugennock
    Member
    Posted 4 years ago #

    Theme: WPComic
    URL: http://www.sinkers.org/stage

    I'm setting up a webcomic blog, which will contain many embedded images on plain white pages. Currently, the images are showing with a light gray background and a darker gray hairline border.

    Is there any way to remove the background and border so that the images are displayed on their own?

  2. Shane G
    Member
    Posted 4 years ago #

    Hi,

    You need to edit the style.css file of your theme and edit the .img tag design as per your requirement.

    Thanks,

    Shane G.

  3. stvwlf
    Member
    Posted 4 years ago #

    check line 510 in your stylesheet
    this section

    .wp-caption {
    -moz-border-radius-bottomleft:3px; <---- round corners in Firefox
    -moz-border-radius-bottomright:3px; "
    -moz-border-radius-topleft:3px; "
    -moz-border-radius-topright:3px; <---- end round corners
    background-color:#F3F3F3; <---- background color
    border:1px solid #DDDDDD; <---- border
    margin:10px;
    padding-top:4px;
    text-align:center;
    }

  4. flugennock
    Member
    Posted 4 years ago #

    @ stvwlf:
    Thanks, I'll give this a shot...

Topic Closed

This topic has been closed to new replies.

About this Topic