Grunion Contact Form suggestion: make input fields and "push button" class filterable #7613
Labels
[Feature] Contact Form
Good For Community
[Type] Enhancement
Changes to an existing feature — removing, adding, or changing parts of it
Often, my themes use a framework such as Bootstrap - which have input & button-specific classes - and it is not good to change the CSS code to change the appearance of the Grunion Contact Form elements.
So my proposal would be to make the
class
attribute of inputs and buttons filterable, so that I can add the classes I want without having to hack the WordPress core or my CSS framework.On the inputs, this line is responsible for the class:
jetpack/modules/contact-form/grunion-contact-form.php
Line 2555 in 7b80159
In the case of the button, we would need to change this line mainly:
jetpack/modules/contact-form/grunion-contact-form.php
Line 1548 in 7b80159
I want to submit a PR, but I'm posting this issue here to collect opinions.
The text was updated successfully, but these errors were encountered: