# Hubspot form not showing full width

**URL:** <https://community.hubspot.com/t/hubspot-form-not-showing-full-width/31453>\
**Category:** Lead Capture Tools\
**Tags:** starter\
**Created:** [February 8, 2021, 10:07pm UTC](https://community.hubspot.com/t/hubspot-form-not-showing-full-width/31453 "2021-02-08T22:07:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MTarbuck](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mtarbuck/32/102498_2.png) [@MTarbuck](https://community.hubspot.com/u/MTarbuck)\
**Post date:** [February 8, 2021, 10:07pm UTC](https://community.hubspot.com/t/hubspot-form-not-showing-full-width/31453/1 "2021-02-08T22:07:13Z")

</div>

Hi Guys and Girls,

I’ve embedded a form into a webpage, but the form is only 500px wide. I have tried adding the CSS recommended for both max-width and margin with no change. I have cleared the cache just in case. The test site can be found at [https://askmav.co](https://askmav.co). The form is in the contact section.

I am using HubSpot marketing starter by the way.

Thanks,

Mat

---

<div class="post-metadata">

**Author:** ![Nikhil\_Aggarwal](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/nikhil_aggarwal/32/76793_2.png) [@Nikhil\_Aggarwal](https://community.hubspot.com/u/Nikhil_Aggarwal)\
**Post date:** [February 9, 2021, 6:42am UTC](https://community.hubspot.com/t/hubspot-form-not-showing-full-width/31453/2 "2021-02-09T06:42:22Z")

</div>

Hi @MTarbuck

There is a fixed inline width given to iframe in which Hubspot form is embedded. we would need to update that width to increase form width ([Ref: Screenshot](http://prntscr.com/yt1s5d)). Do let me know if this solution works

Thanks

Nikhil

---

<div class="post-metadata">

**Author:** ![MTarbuck](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mtarbuck/32/102498_2.png) [@MTarbuck](https://community.hubspot.com/u/MTarbuck)\
**Post date:** [February 9, 2021, 1:23pm UTC](https://community.hubspot.com/t/hubspot-form-not-showing-full-width/31453/3 "2021-02-09T13:23:14Z")

</div>

This would work great. It would be much better, however, if you could simply add a control to the form builder that allows you to adjust the width of the iframe, or even let us embed it as an iframe rather than JS.

Do I have to add the iFrame text or is this something you guys will do on the backend? If backend, how I would need to try different widths out.

Thanks

---

<div class="post-metadata">

**Author:** ![MTarbuck](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mtarbuck/32/102498_2.png) [@MTarbuck](https://community.hubspot.com/u/MTarbuck)\
**Post date:** [February 9, 2021, 4:05pm UTC](https://community.hubspot.com/t/hubspot-form-not-showing-full-width/31453/4 "2021-02-09T16:05:40Z")

</div>

I have found a solution to this problem by targeting the form to a named \<div\> tag and then setting the CSS to that tag.
