- hubspot form is set to ‘set as raw HTML’ (I have Marketing Hub Enterprise)
- verified that the form is embedded on page not in an iframe
- I’m still seeing a ton of included CSS at the top of the external page that contains form-related CSS
- tried setting ‘css: “”’ in the form embed to ensure no HubSpot CSS included, does not work
- WordPress site, but no HubSpot plugin installed in WordPress
- how can I remove all HubSpot styles, period?
- tested in Codepen.io by pasting just the embed code from HubSpot into the HTML section, verifying again that the option to ‘Set as raw HTML’ was checked in the editor
- Saw this in the source code
all the CSS included on the page with nothing but a form embed using raw html option
I stepped through the code in v2.js that is included as part of the embed, and see this:
So, no matter what ‘isRawlHtmlForm’ is set to, CSS is included in the head. AFAIK, NONE of that CSS should be present on the page??? Do I have to manually detect and delete this on page load?

