- This topic has 8 replies, 4 voices, and was last updated 11 years ago by Sakin.
-
AuthorPosts
-
July 16, 2013 at 9:06 pm #11918MrJonnyJonesParticipant
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!
July 17, 2013 at 12:27 am #11931MrJonnyJonesParticipantThis 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.
July 17, 2013 at 12:32 am #11933SakinKeymaster@MrJonnyJones: You can use
img.wp-post-image { box-shadow: none; }
July 17, 2013 at 3:21 am #11943MrJonnyJonesParticipantThanks Sakin 🙂
September 26, 2013 at 8:15 pm #15119GladysMemberHi 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!
September 26, 2013 at 9:25 pm #15121GladysMemberHi Sakin, never mind….I found the CSS!!
Thank you
September 26, 2013 at 9:43 pm #15124November 21, 2013 at 12:21 am #17433SebastiaanParticipantIn 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.
November 21, 2013 at 3:26 am #17448SakinKeymaster@Sebastiaan.Horn: You can add the following CSS in “Appearance => Theme Options => Custom CSS” box.
.widget img { box-shadow: none; }
-
AuthorPosts
- The topic ‘Remove faint line around images’ is closed to new replies.