It really depends on whether you are working in Hubspot or outside, in WordPress for instance.
Either way, if you use your inspector tool you will see the stucture for the form provided by Hubspot. Assuming your working in Hubspot, you will see that the submit button can be target like so:
form.hs-form div.hs_submit div.actions input[type="submit"]
This may be the same with form embeds but I can’t say off of the top of my head that this is correct.
I like to give a group or module wrapper to my forms a specific class, like ‘form_wrap’, then target the form fields beginning with that class. It is a good idea to be specific and deep with your targeting because, in my experience, Hubspot’s framework is specific, deep, and takes precedence in the document hierarchy.
I’ve been passing this around a bit lately and I recommend it: https://chrome.google.com/webstore/detail/live-editor-for-css-less/ifhikkcafabcgolfjegfcgloomalapol You can play with targeting the form fields in real time.
Need help? Hire Us Here