Hubspot form embed on Firefox doesn't look right


I have a HubSpot form embedded on a popup modal. The width of the form doesn’t look right on the Firefox browser. It looks and works great on Chrome. Would someone be able to look at this and let me know if something needs to be fixed?

Here’s the link to the site -

Thank you so much for your help!


Here is my site Read-Only: [LINK][1]

@rkoomera - somehow the width of the iframe is being set to 10px:


My assumption is that HubSpot has some script that determines the height and width of the parent element that it is allowed to use and sets these dynamically on load. I would look at the element it’s being loaded into and what the width of that element is set to.

Thank you for looking into this. I’ve looked everywhere in Hubspot but could not find any option to adjust the width. Probably I should take this up with Hubspot directly.

@rkoomera - take a look at the answer in this HubSpot community thread:

Can you try loading the forms shell.js script outside of the modal, and calling the hbspt.forms.create() method once the modal is loaded? That seems to work for me. You can also include a target parameter in the form; this parameter is a jQuery selector for the container you want the form to appear in. That should allow you to call the create() method before the modal is opened.