Style Fluent Form button globally


A user wanted a way to set the style of the button globally using the utlity classes that they have.

Fluent Forms has a method of removing the button styling so you can add your own classes to the button, however this method requires you to add the classes to every form you create.

The method below does it globally using a hook so you never have to think about it.

Your global styling will automatically get added if the button style is set to either default or no_style.

1. Add the code

Members content only

Become a SnippetClub member to gain instant access to this tutorial plus tons more premium content.

Already a member? Log in below.

Login Form

👋🏻 Weekly Tutorial Digest

I send out a weekly newsletter with links to new tutorials written in the last week, you can subscribe below.


🔒I won't send you spam, I promise