# Building a Form with File uploads

**URL:** <https://community.elfsight.com/t/building-a-form-with-file-uploads/171053>\
**Category:** Customization\
**Tags:** form-builder\
**Created:** [August 12, 2026, 5:43am UTC](https://community.elfsight.com/t/building-a-form-with-file-uploads/171053 "2026-08-12T05:43:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ben\_Keene](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/ben_keene/32/104185_2.png) [@Ben\_Keene](https://community.elfsight.com/u/Ben_Keene)\
**Post date:** [August 12, 2026, 5:43am UTC](https://community.elfsight.com/t/building-a-form-with-file-uploads/171053/1 "2026-08-12T05:43:57Z")

</div>

Hi there, I’d like to see the feature to change the width of the file upload column width and height. I feel like it doesn’t need to be that large and some customization would be great!

---

<div class="post-metadata">

**Author:** ![Tony](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/tony/32/103949_2.png) [@Tony](https://community.elfsight.com/u/Tony)\
**Post date:** [August 18, 2026, 1:14pm UTC](https://community.elfsight.com/t/building-a-form-with-file-uploads/171053/3 "2026-08-18T13:14:59Z")

</div>

Hi Ben! Sorry for the delay in getting back to you 😓

Currently, there is no built-in setting to adjust the file upload field size, but you can customize it with CSS. You can add the CSS codes below to the **Custom CSS** field, which you can find in the **Appearance** tab of your widget settings.

To change the width and height of the upload area, you can try this:

```css
[class*="File__DropArea-sc"] {
  padding: 10px 0 !important;
  width: 50%;
}

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/e/2/e2602fbed9ccf4dada87d1e85a76abeb80ef2f64.png)

If you’d like to center the upload area, you can also add:

```css
[class*="File__Container-sc"] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/a/4/a40374f31034aa0591fc5323defca1617c718834.png)

This will also center the uploaded file list. If you’d like to keep the file list aligned separately, add:

```css
div:has(> [class*="File__FileItem-sc"]) {
  min-width: 100%;
}

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/6/3/63c995a2c2fb632b328cfe10755de129405dfe8e.png)

We’ve also added this idea to our wishlist.

Feel free to vote for it here to support the request and get future updates: **[Allow adjusting file upload field width and height](https://community.elfsight.com/t/allow-adjusting-file-upload-field-width-and-height/171923)**[.](https://community.elfsight.com/t/allow-adjusting-file-upload-field-width-and-height/171923)
