# Remove paddings

**URL:** <https://community.elfsight.com/t/remove-paddings/75123>\
**Category:** Photo Gallery\
**Created:** [October 11, 2024, 6:17pm UTC](https://community.elfsight.com/t/remove-paddings/75123 "2024-10-11T18:17:32Z")\
**Posts on this page:** 1\
**Showing post:** 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:** [October 11, 2024, 6:17pm UTC](https://community.elfsight.com/t/remove-paddings/75123/1 "2024-10-11T18:17:32Z")

</div>

Add this code to the Custom CSS field on the Style tab of your [Photo Gallery](https://elfsight.com/photo-gallery-widget/) widget’s settings:

```auto
.es-embed-root {
padding: 0;
}

```

  

Guys, if this code was helpful to you, please drop a line in the comments. Your feedback helps us improve our services and provide better solutions 🙂

---

_[View the full topic](https://community.elfsight.com/t/remove-paddings/75123)._
