Title: Set css class for the submit button
Last modified: August 28, 2018

---

# Set css class for the submit button

 *  Resolved [dtburleigh](https://wordpress.org/support/users/dtburleigh/)
 * (@dtburleigh)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/set-css-class-for-the-submit-button/)
 * I am hoping to set a pre-existing (theme) button class for the Testimonials submit
   button to match the rest of my site, but I cannot find where to set the class
   for just the button in the form editor.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  anonymized-13171256
 * (@anonymized-13171256)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/set-css-class-for-the-submit-button/#post-10634056)
 * There is no setting for that. You can use a filter instead.
 *     ```
       function my_testimonial_form_button_class( $class ) {
         // Replace 'button' with your theme class name.
         return "button";
       }
       add_filter( 'wpmtst_submit_button_class', 'my_testimonial_form_button_class' );
       ```
   
 * Where to put that? Try Code Snippets.
    [https://wordpress.org/plugins/code-snippets/](https://wordpress.org/plugins/code-snippets/)
 *  Thread Starter [dtburleigh](https://wordpress.org/support/users/dtburleigh/)
 * (@dtburleigh)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/set-css-class-for-the-submit-button/#post-10637939)
 * Thanks for such a fast response, Chris!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Set css class for the submit button’ is closed to new replies.

 * ![](https://ps.w.org/strong-testimonials/assets/icon-256x256.png?rev=3134855)
 * [Strong Testimonials](https://wordpress.org/plugins/strong-testimonials/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/strong-testimonials/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/strong-testimonials/)
 * [Active Topics](https://wordpress.org/support/plugin/strong-testimonials/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/strong-testimonials/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/strong-testimonials/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [dtburleigh](https://wordpress.org/support/users/dtburleigh/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/set-css-class-for-the-submit-button/#post-10637939)
 * Status: resolved