Feb 16, 20189:29 AM - edited Feb 19, 20189:51 AM
Contributor
Editing Forms with Inline Styling in Template
I'm trying to style a form in the template for some landing pages. I can adjust margin and padding in the inline CSS field but I'm not sure of the code to update the field background color, field border, button rounding, etc. would the code go in the same field that margin and padding is edited in?
Could someone share a resource to the list of codes for those type of stylings? Or even an example of the code I would appreciate it.
if you apply a class to the form wrapper, you could add your css code in the linked CSS file of that page and there you'll be able to style all your form elements.. Mind you, sometimes Hubspot will be stubborn and in some cases you might need to add the !important; property in css..
I'm not 100% sure (I don't usually code in the module, only via html/css), but I don't think you can target a field itself within the form the way you intend.