# Module CSS input background Color

**URL:** <https://community.hubspot.com/t/module-css-input-background-color/64385>\
**Category:** CMS Development\
**Created:** [September 2, 2022, 5:46pm UTC](https://community.hubspot.com/t/module-css-input-background-color/64385 "2022-09-02T17:46:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JRicker](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@JRicker](https://community.hubspot.com/u/JRicker)\
**Post date:** [September 2, 2022, 5:46pm UTC](https://community.hubspot.com/t/module-css-input-background-color/64385/1 "2022-09-02T17:46:35Z")

</div>

Hi all,

I am having difficulty with the background color of the input fields of the hubspot modules via CSS. It seems to be using the theme color for the background color. I am not very familiar with Hubspot modules. I’ve read many posts here, do I need to create a copy of theme-overrides.css, modify it, and link the stylesheet via the linked files feature? Or am I on the totally wrong track?

 ![JRicker_0-1662140582777.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/5/54a14ae02a8fcd343992907cd433649cb41303d2.png)

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![LeeBartelme](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/leebartelme/32/95647_2.png) [@LeeBartelme](https://community.hubspot.com/u/LeeBartelme)\
**Post date:** [September 2, 2022, 5:55pm UTC](https://community.hubspot.com/t/module-css-input-background-color/64385/2 "2022-09-02T17:55:45Z")

</div>

One thing you can do is create a [child theme](https://developers.hubspot.com/docs/cms/building-blocks/themes/child-themes) which allows you essentially to make some edits to the theme while keeping the theme in tact. So you could make some CSS adjustments essentially on top of the theme. Probably the cleanest way to make adjustments to an existing theme.

---

<div class="post-metadata">

**Author:** ![BarryGrennan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/barrygrennan/32/97794_2.png) [@BarryGrennan](https://community.hubspot.com/u/BarryGrennan)\
**Post date:** [September 3, 2022, 5:30pm UTC](https://community.hubspot.com/t/module-css-input-background-color/64385/3 "2022-09-03T17:30:44Z")

</div>

I would suggest using inspect element to see how the theme css is targeting the input, then use a higher level of specificity for the css in your module.

So if the theme is something like

```lia-code-sample
input {
background:red;
}

```

You’d put

```lia-code-sample
.some-parent-div-in-the-module input {
background: green;
}

```

* * *

 ![profile2022a.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/2X/7/7273a34ccfe3489fceebc8a36eca751481b59531.jpeg)

**Barry Grennan**

[Freelance HubSpot CMS Developer](https://www.seoanseo.ca?utm_source=HubSpotCommunity)

[Website](https://www.seoanseo.ca?utm_source=HubSpotCommunity) | [Contact](https://www.seoanseo.ca/#contact?utm_source=HubSpotCommunity)
