How to multiple class add on contact form 7 Submit button
To add multiple classes to the Contact Form 7 Submit button, you can follow these steps:
- In the WordPress dashboard, go to Contact > Contact Forms and select the form you want to edit.
- In the form editor, find the Submit button code block. It should look like this:
[submit "Send"]
- To add multiple classes, modify the code like this:
[submit class:btn class:btn-primary "Send"] or [submit class:"class1 class2" "Send"]
In the above example, “class1” and “class2” are the classes you want to add. You can add as many classes as you need, separating them with a space.
- Save the changes to the form.
That’s it! The Submit button should now have the additional classes you specified. You can use these classes to style the button using CSS.