# Add borders to images in popup

**URL:** <https://community.elfsight.com/t/add-borders-to-images-in-popup/129172>\
**Category:** Blog\
**Created:** [July 3, 2025, 6:20pm UTC](https://community.elfsight.com/t/add-borders-to-images-in-popup/129172 "2025-07-03T18:20:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [July 3, 2025, 6:20pm UTC](https://community.elfsight.com/t/add-borders-to-images-in-popup/129172/1 "2025-07-03T18:20:40Z")

</div>

Add this code to the Custom CSS field on the Settings tab of your [Blog](https://elfsight.com/blog-widget/) widget’s settings:

```auto
[class*="post__FeaturedImage-sc"],
.es-post-img-wrapper img {
border-width: 2px;
border-style: solid;
border-color: red;
border-radius: 0px;
}

```
