Stylesheet doesn't work

  • 11 August 2020
  • 1 reply
  • 11 views

Hi everyone,

The stylesheet doesn’t seem to work. So, when I want to remove the margin of some of the elements in one of my Hubspot forms, nothing happens, as you can see here:


As you can see, even if I select the specific class and then the .p that I want to change, nothing happens. I also tried different combinations and nothing seems to work.

Why is this happening?

Thanks


1 reply

Userlevel 7
Badge +3

Hi @nunosbpereira,

It seems like you are trying to change CSS for a Hubspot form loaded as an iFrame, which you can’t really do due to browser security.

You have to either adjust your form styles directly through Hubspot or you need access to the form so that you can insert JS/CSS directly.

Best,
Hristian

Reply