CMS Development

JohnInDallas
Mitwirkender/Mitwirkende

Must Round Submit Button

lösung

Alrighty, guru's - I can't find anything about this that's current.

 

I need to edit the Submit button on my HubSpot form to be a pill-style button. I've tried a gaggle of CSS tricks and have scoured the editor and can't find anything to let me do this.

The latest CSS I have tried is shown below. I understand that it's rendering via a JS but once rendered, shouldn't we have some control over its appearance?

 

Any direction, guidance, insight or solutions would be GREATLY appreciated!!!

.hs-button.primary, body input[type="submit"] {
border-radius:33px;
}

.hs-button.large.primary { border-radius:33px;
}

1 Akzeptierte Lösung
piersg
Lösung
Autorität

Must Round Submit Button

lösung

Hi @JohnInDallas, this works for me:

form input[type=submit] {
  border-radius:33px;
}

 

Have you set your forms to display as raw HTML?

piersg_0-1653553202002.png

 

Lösung in ursprünglichem Beitrag anzeigen

3 Antworten
piersg
Lösung
Autorität

Must Round Submit Button

lösung

Hi @JohnInDallas, this works for me:

form input[type=submit] {
  border-radius:33px;
}

 

Have you set your forms to display as raw HTML?

piersg_0-1653553202002.png

 

Jaycee_Lewis
Community-Manager/-in
Community-Manager/-in

Must Round Submit Button

lösung

Thanks for the suggestion, @piersg 🙌

 

Hey, @JohnInDallas 👋 Please let us know if it worked for you! 

 

Best — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes
JohnInDallas
Mitwirkender/Mitwirkende

Must Round Submit Button

lösung

I have not tried that as of yet, I will try that today and get back to you. Thank you SO MUCH for the feedback!!

0 Upvotes