Tagged: ,

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #11918
    MrJonnyJones
    Participant

    Hi Sakin, is there any custom CSS code to remove the very faint grey/gray line that, somehow, is present when you insert an image? The image(s) I want to use will have no links attached to them. I’ve tried ‘border=0’ but it makes no difference.

    A link as an example – the welcome image has a faint border…
    http://www.classicalballetcentresurrey.co.uk.gridhosted.co.uk/

    Thanks for your help!

    #11931
    MrJonnyJones
    Participant

    This is now sorted, I found this code:

    img.wp-post-image {
    /* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.2);
    }

    But I changed the px values to 0.

    #11933
    Sakin
    Keymaster

    @MrJonnyJones: You can use
    img.wp-post-image { box-shadow: none; }

    #11943
    MrJonnyJones
    Participant

    Thanks Sakin 🙂

    #15119
    Gladys
    Member

    Hi Sakin, I have the same problem. All my images have a white background box. I’ve tried the same CSS code above but it didn’t work.

    I have the Catch Everest pro http://www.petiteflowersstudio.com/blog/

    Thanks for your help!

    #15121
    Gladys
    Member

    Hi Sakin, never mind….I found the CSS!!

    Thank you

    #15124
    Sakin
    Keymaster

    @Gladys: Thanks 🙂

    #17433
    Sebastiaan
    Participant

    In addition of the shadow lines:

    Is there a separate code to remove the shadow line of images, standing in the widget side bar?

    URL: http://www.sebastiaanhorn.nl

    When you see the Kish.nl logo/link, I can’t get it done to remove the shadow around the image.

    #17448
    Sakin
    Keymaster

    @Sebastiaan.Horn: You can add the following CSS in “Appearance => Theme Options => Custom CSS” box.
    .widget img { box-shadow: none; }

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Remove faint line around images’ is closed to new replies.