Archived topic
Border only on some images?
9 replies · Started by Lilian on March 20, 2019
Hello,
I think the theme I use on my website already had image bordering installed into it for blog posts, however, only some images have borders and some do not. I can't seem to find how to fix this?
I want all images that show up in blog posts to have the border.
Please help. Thank you!
Hi there,
Can you guide me to a specific post I should be looking at?
I checked a couple and don't see any border around the images.
Let me know :)
Yes, I just posted this one.
https://crazyfuntravel.com/2019/03/20/is-japan-super-safe/
All the image have borders except for the third image.
I'm not seeing borders on any of the images.
No borders property showing in code either.
Can you try clearing your browser cache?
So weird. I notice that when I create a post with Wordpress editor, the border is there. But if I edit it with Elementor, the border is gone. If I want to be sure that all images have a blog post, what can I do?
all images have a blog post
Not sure what you mean?
I would like all images in blog posts have borders
Try this CSS:
.wp-block-image img {
border: 2px solid #333;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Thank you. That worked.
No problem :)