Archived topic
Image border
5 replies · Started by Sanu Kumar on October 5, 2020
When I try to add this CSS
.entry-content img {
border: 5px solid rgb(234,236,241);
box-shadow: 0 10px 30px 0 rgba(0,0,0,0.3);
overflow: hidden;
}
I am facing this issue: https://ibb.co/8j0dnZw
Not on all images but on some images
Hi,
Can you link me to the part of the site you're applying this on? So we can inspect the site for its CSS.
Thank you.
https://www.masteryblogging.com/siteground-black-friday-deal/
Go to this section: SiteGround is Powered by Google: Newly Launched
As I said not on all images but on few, it changes regularly, when I close the site and then open, it occurs on another image.
The images which have white background doesn't show because the gap is having a white line so it doesn't appears but the images which have some background colours or images, it shows some gap like I have shown you in the screenshot.
I'm not exactly sure what you meant by this "gap".
Perhaps you perceive the 5px border as the gap. If so, you can just remove the border: 5px solid rgb(234,236,241); on your CSS and see if that's the case.
Yes, I can remove this but why it is not working? It should work.
Can you check your other previously added CSS codes if maybe one of them is doing the same thing? Make sure to remove them.
Also, don't forget to purge your cache. Thank you.