How to replace input type="submit" to button on Contact Form 7?
-
Hi,
Could you please write what is the most recommended and best way to replace input type=”submit” generated by [submit] to button element.
From:
<input type="submit" value="Submit" class="wpcf7-form-control wpcf7-submit" />
To:
<button type="submit" class="wpcf7-form-control wpcf7-submit">Submit</button>
The reason is that with current markup it’s not possible to use the :after pseudo-element on input?
source: https://stackoverflow.com/questions/2587669/can-i-use-the-after-pseudo-element-on-an-input-field
Thanks!
- The topic ‘How to replace input type="submit" to button on Contact Form 7?’ is closed to new replies.