In this tutorial, i’ll give you the PHP code to change the text for your comment form submit label and some sample CSS code to style your button.
Change Comment Form Submit Button Text
Simply paste this code in your child themes functions.php file.
Style Your Button
Here’s some sample code you can use at the end of your child themes style.css file to change the:
- Background color
- Background hover color
- Text color
- Text hover color
- Button Transition Speed
Background & Text Color
Background & Text Hover Color
Button Transition Speed
The CSS code for styling the comment form submit button has been modified using the code from the Genesis 2.0 HTML 5 Sample child theme.
Leave a Reply