Grey Outline Around Photos

  • Author
    Posts
  • #104691

    nosinga
    Member
    Original poster

    Hi there,

    When I insert a photo into a page/post (that’s not a featured image) it tends to have a grey outline around it, which isn’t always desirable. Is there any way to get rid of the grey outline? I have a white image that I’m trying to get to blend into the white background and would like that to disappear.

    Thanks in advance!

    Nicole

    The blog I need help with is: nicoleosinga.com

    #104860

    tarasdashkevych
    Theme Author

    Hello Nicole,

    To remove border from your images, please use this custom css:

    img[class*="wp-image-"],
    .entry-attachment img {
      padding: 0;
      border: none;
    }

    Best,
    Taras

    #104887

    nosinga
    Member
    Original poster

    That works like a charm, thank you!

    #104914

    tarasdashkevych
    Theme Author

    You are welcome :)

The topic ‘Grey Outline Around Photos’ is closed to new replies.