# Add a background image to a form

**URL:** <https://community.hubspot.com/t/add-a-background-image-to-a-form/30936>\
**Category:** Lead Capture Tools\
**Tags:** professional\
**Created:** [January 28, 2021, 5:09pm UTC](https://community.hubspot.com/t/add-a-background-image-to-a-form/30936 "2021-01-28T17:09:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KMcKeever](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kmckeever/32/30597_2.png) [@KMcKeever](https://community.hubspot.com/u/KMcKeever)\
**Post date:** [January 28, 2021, 5:09pm UTC](https://community.hubspot.com/t/add-a-background-image-to-a-form/30936/1 "2021-01-28T17:09:51Z")

</div>

Hello! I am trying to add a background image or color to a form that will be embedded to my website. The page on my website is not a hubspot page. How can you change the background color or use an image as the background pattern for an embedded form?

Thanks!

---

<div class="post-metadata">

**Author:** ![Jake\_Lett](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jake_lett/32/45178_2.png) [@Jake\_Lett](https://community.hubspot.com/u/Jake_Lett)\
**Post date:** [January 29, 2021, 11:02am UTC](https://community.hubspot.com/t/add-a-background-image-to-a-form/30936/2 "2021-01-29T11:02:49Z")

</div>

If you have a professional or enterprise account you can customize the form styles. Here is the basic CSS style you would need to add to your page. If you have more than one form on a page you would need to use the form ID selector instead so the rule is more specific. If you are new to CSS here is more information on the background property [background-image CSS property - CSS | MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/background-image)

```lia-code-sample
.hs-form {
 background: url(https://dummyimage.com/600x400/000/fff.png) no-repeat;
}

```

---

<div class="post-metadata">

**Author:** ![JAmber](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jamber/32/87736_2.png) [@JAmber](https://community.hubspot.com/u/JAmber)\
**Post date:** [February 17, 2022, 10:52am UTC](https://community.hubspot.com/t/add-a-background-image-to-a-form/30936/3 "2022-02-17T10:52:21Z")

</div>

I make posters for music bands that perform in my music pub. That’s not my profession since I am not a graphic artist. The bands play for free, so these posters are not something I would be making money off. As you can imagine, putting an image of a musician onto colorful background is the simplest way to create a poster. I use [Background remover for free – Remove background from any image](https://create.vista.com/features/background-remover/) tool for changing background in a few clicks. That’s how I create most of the posters.
