Title: Multiple styles with multiple forms?
Last modified: August 20, 2016

---

# Multiple styles with multiple forms?

 *  [demitjev](https://wordpress.org/support/users/demitjev/)
 * (@demitjev)
 * [15 years ago](https://wordpress.org/support/topic/multiple-styles-with-multiple-forms/)
 * Hi!
 * I would like to style 2 forms different. Now I’m styling for my style.css with:
 *     ```
       .wpcf7-form p input, .wpcf7-form p textarea{
       color: #000000; text-align: left;
       }
       ```
   
 * Thats affect both of my forms, but I would like to have the first form to have
   text-input right-aligned like
 *     ```
       .wpcf7-form p input, .wpcf7-form p textarea{
       color: #000000; text-align: right;
       }
       ```
   
 * How can I style form different with CSS?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [15 years ago](https://wordpress.org/support/topic/multiple-styles-with-multiple-forms/#post-2145359)
 * Add class to the field, say, “alignright” by [adding class option to the form tag](http://contactform7.com/blog/2009/11/18/text-fields/):
 * `[text text-123 class:alignright]`
 * then, set styles to the “alignright” class.
 *     ```
       .wpcf7-form .alignright {
       color: #000000; text-align: right;
       }
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Multiple styles with multiple forms?’ 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: [15 years ago](https://wordpress.org/support/topic/multiple-styles-with-multiple-forms/#post-2145359)
 * Status: not resolved