Jump to content

Custom CSS Hubspot Forms

Recommended Posts

Site URL: https://www.midwayconcrete.com.au/

Just wondering if someone can help me add custom css to my Hubspot forms (request a quote and contact us).

You can style the forms through Hubspt before embedding them but it is very limited and you aren't able to add custom css unless you embed as raw HTML. This is the embedding code for one of the forms:

<!--[if lte IE 8]>
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2-legacy.js"></script>
<![endif]-->
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"></script>
<script>
  hbspt.forms.create({
    portalId: "7206502",
    formId: "7e8c83b8-c711-4df1-b269-e64fb23ac317"
});
</script>

I have tried to add custom css in squarespace, however, nothing changes so I'm not sure what I should be targeting to override something in the code or if there is another trick?

Any help would be great!! Thank you :) 

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.