# Make the widget centered on a website

**URL:** <https://community.elfsight.com/t/make-the-widget-centered-on-a-website/54120>\
**Category:** Photo Gallery\
**Tags:** Gathering-Feedback\
**Created:** [May 24, 2024, 10:24am UTC](https://community.elfsight.com/t/make-the-widget-centered-on-a-website/54120 "2024-05-24T10:24:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ElfsightBot](https://avatars.discourse-cdn.com/v4/letter/e/ecd19e/32.png) [@ElfsightBot](https://community.elfsight.com/u/ElfsightBot)\
**Post date:** [May 24, 2024, 10:24am UTC](https://community.elfsight.com/t/make-the-widget-centered-on-a-website/54120/1 "2024-05-24T10:24:56Z")

</div>

We found the following CSS code for it:

```auto
.global-styles, [class*="RootLayout__Component"] {
margin: auto;
}

```

However, if it’d be possible to control this in settings, it’d be amazing!
