Add class to the submit button of comment_form()
I know that I can change the id of the submit button by passing the argument
'id_form' => 'customID', but I want to also add a class. Is there a filter where I can do this or some other method that doesn’t involve editing
I know I can style everything the way I want using the id for the submit button, but I want to use a class. I have several helper classes like “rounded” and “shadow” and whatnot where adding a class to an item is much easier than typing out the same browser-specific CSS rules every time.
- The topic ‘Add class to the submit button of comment_form()’ is closed to new replies.