Add field class to wrapper span
-
Does anybody have an idea, how I can add the field class (i.e. half-width) to the wrapping span element?
What I get:
<span class="wpcf7-form-control-wrap firstname"><input type="text" name="firstname" value="" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required half-width" aria-required="true" aria-invalid="false" placeholder="Vorname"></span>
What I would like to get (class “half-width” in span element):
<span class="wpcf7-form-control-wrap firstname half-width"><input type="text" name="firstname" value="" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required half-width" aria-required="true" aria-invalid="false" placeholder="Vorname"></span>
Thanks in advance!
- The topic ‘Add field class to wrapper span’ is closed to new replies.