# Pressing Embed Form CSS Issue - Going Mad!

**URL:** <https://community.hubspot.com/t/pressing-embed-form-css-issue-going-mad/88209>\
**Category:** Lead Capture Tools\
**Tags:** object, forms\
**Created:** [August 24, 2023, 1:42am UTC](https://community.hubspot.com/t/pressing-embed-form-css-issue-going-mad/88209 "2023-08-24T01:42:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![TomM2](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tomm2/32/70887_2.png) [@TomM2](https://community.hubspot.com/u/TomM2)\
**Post date:** [August 24, 2023, 12:15pm UTC](https://community.hubspot.com/t/pressing-embed-form-css-issue-going-mad/88209/2 "2023-08-24T12:15:08Z")

</div>

Hey @JohnInDallas are you using a raw html form or a HubSpot theme form? You’ll need to [enable set as raw html](https://knowledge.hubspot.com/forms/how-can-i-share-a-hubspot-form-if-im-using-an-external-site#:~:text=form%20with%20CSS%3A-,In%20your%20HubSpot%20account%2C%20navigate%20to%20Marketing%20%3E%20Lead%20Capture%20%3E,raw%20HTML%20form%20switch%20on.) to add custom style to your form, otherwise it will load in an iframe and not take in custom css.

Have you tried overriding the style but using that same class and setting something like “max-width: 100% !important” in your stylesheet?

---

_[View the full topic](https://community.hubspot.com/t/pressing-embed-form-css-issue-going-mad/88209)._
