WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remove Border from Image (8 posts)

  1. sandyhov
    Member
    Posted 2 years ago #

    All the images I bring in have a faint blue line/border around them. I'd prefer that there be no border on most images. How can I get rid of the blue border? The border is NOT part of the image - i.e., I can bring the image into any other program and there is no border.
    As you can probably tell from the question, I'm not a WP expert! Simple answers would be appreciated. :-)
    Thanks much,
    Sandy

  2. WPyogi
    Volunteer Moderator
    Posted 2 years ago #

    Most likely in your CSS stylesheet, but unless you post a link to your site, hard to say anything more specific.

  3. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    This occurs usually when the image is also a hyperlink. Review the CSS for 'a' tag in use for the img.

  4. GreenLead
    Member
    Posted 2 years ago #

    What theme are you using?

    Are the images being used as links?

  5. sandyhov
    Member
    Posted 2 years ago #

    Here's a sample blog with an image: http://datades.com/tipcards-info-at-your-fintertips/

    We're using a theme developed we developed in Artisteer (and yes, we're novices at that as well).

    The images aren't being used as hyperlinks (at least not in most cases).

  6. Add this to your custom css:

    .art-article img, img.art-article, .art-block img, .art-footer img {
        border: none;
    }
  7. sandyhov
    Member
    Posted 2 years ago #

    THANK YOU, thank you, thank you! I have successfully modified my CSS for the first time! And it worked!

  8. My pleasure :)

Topic Closed

This topic has been closed to new replies.

About this Topic