KaraMidway Posted July 15, 2020 Share Posted July 15, 2020 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
tuanphan Posted July 15, 2020 Share Posted July 15, 2020 Can you share link to page where you insered Hubspot form? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
KaraMidway Posted July 15, 2020 Author Share Posted July 15, 2020 14 hours ago, tuanphan said: Can you share link to page where you insered Hubspot form? https://www.midwayconcrete.com.au/contact & https://www.midwayconcrete.com.au/request-a-quote Thanks! Link to comment
tuanphan Posted July 15, 2020 Share Posted July 15, 2020 8 minutes ago, KaraMidway said: https://www.midwayconcrete.com.au/contact & https://www.midwayconcrete.com.au/request-a-quote Thanks! It is in iframe tag, you can't CSS it. https://stackoverflow.com/questions/583753/using-css-to-affect-div-style-inside-iframe Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.