Forums

Black border around images (5 posts)

  1. matthew288
    Member
    Posted 1 year ago #

    When my visitors post comments their avatars (either the default icon or their gravatars) are surrounded by a black border. I'm using the WooThemes Typebased theme. I looked through the CSS stylesheet but couldn't locate a setting to remove the border. An example of the comment avatar with the border is at http://img64.imageshack.us/img64/9383/commentew.png Thanks in advance!

  2. jkovis
    Member
    Posted 1 year ago #

    Try adding the following to your theme's style.css:

    .comment .avatar {
        background: none;
    }
  3. matthew288
    Member
    Posted 1 year ago #

    That worked great. Thanks. It also automatically added a black border around images I inserted into a couple different pages (as opposed to posts). Would you know how to remove those as well?

  4. jkovis
    Member
    Posted 1 year ago #

    Try using this:

    .page .post-content img,
    .comment .avatar {
        background: none;
    }

    Go ahead and remove the earlier code since the above code addresses both places.

  5. matthew288
    Member
    Posted 1 year ago #

    Awesome. Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Topic