Title: can&#8217;t select submit class
Last modified: September 1, 2020

---

# can’t select submit class

 *  [rilliam](https://wordpress.org/support/users/rilliam/)
 * (@rilliam)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/cant-select-submit-class/)
 * I am able to target .wpcf7-textarea in my custom css and make some css changes
   there. However when I try to target the submit button, it seems like it is ignored.
   I instead have to target the following which makes even less sense to me:
 * `.button:not(.components-button):not(.customize-partial-edit-shortcut-button),
   input[type=button]:not(.components-button):not(.customize-partial-edit-shortcut-
   button), input[type=reset]:not(.components-button):not(.customize-partial-edit-
   shortcut-button), input[type=submit]:not(.components-button):not(.customize-partial-
   edit-shortcut-button)`
 * I have tried adding a html-class to the shortcode, but then I can’t seem to target
   that and it is ignored:
 * `[contact-form-7 id="100" title="Message"html_id="contact-form-1234" html_class
   ="form contact-form"]`
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcant-select-submit-class%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/cant-select-submit-class/#post-13349760)
 * See [Styling contact form](https://contactform7.com/styling-contact-form/)

Viewing 1 replies (of 1 total)

The topic ‘can’t select submit class’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/cant-select-submit-class/#post-13349760)
 * Status: not resolved