Module CSS input background Color

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?

Thanks in advance!

One thing you can do is create a child theme 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.

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

input {
background:red;
}

You’d put

.some-parent-div-in-the-module input {
background: green;
}

Barry Grennan

Freelance HubSpot CMS Developer

Website | Contact