Title: Styling text input &#8211; RTL
Last modified: August 30, 2016

---

# Styling text input – RTL

 *  Resolved [yanay](https://wordpress.org/support/users/yanay/)
 * (@yanay)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/styling-text-input-rtl/)
 * HI
    I am adding CF7 form to an RTL styled website. I managed to display the fields
   and their labels as LTR within the RTL page, but when users input text into text
   fields, the input is displayed in the field as RTL and aligned to right. Should
   be LTR and aligned to left. Any placeholder text is also displayed as RTL in 
   the filed.
 * How do I get the input text to behave LTR and aligned to left?
 * Thanks
 * [https://wordpress.org/plugins/contact-form-7/](https://wordpress.org/plugins/contact-form-7/)

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

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/styling-text-input-rtl/#post-6498048)
 * Can I see the site?
 *  Thread Starter [yanay](https://wordpress.org/support/users/yanay/)
 * (@yanay)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/styling-text-input-rtl/#post-6498074)
 * [http://bit.ly/1EBdn1n](http://bit.ly/1EBdn1n)
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/styling-text-input-rtl/#post-6498115)
 * Where is the form?
 *  Thread Starter [yanay](https://wordpress.org/support/users/yanay/)
 * (@yanay)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/styling-text-input-rtl/#post-6498134)
 * [http://israel-ceramics.org/form/](http://israel-ceramics.org/form/)
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/styling-text-input-rtl/#post-6498136)
 * You have this style rule in [your theme’s stylesheet](http://israel-ceramics.org/wp-content/themes/CAAI/style.css)
   and it is effective to the input field.
 *     ```
       body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, th, td {
           direction: rtl;
           margin: 0;
           padding: 0;
       }
       ```
   
 *  Thread Starter [yanay](https://wordpress.org/support/users/yanay/)
 * (@yanay)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/styling-text-input-rtl/#post-6498181)
 * Thank you
    How can I create a `direction: ltr;` style that will affect only the
   input fields in this form?
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/styling-text-input-rtl/#post-6498182)
 * See [Styling Contact Form](http://contactform7.com/styling-contact-form/)
 *  Thread Starter [yanay](https://wordpress.org/support/users/yanay/)
 * (@yanay)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/styling-text-input-rtl/#post-6498185)
 * Thank you
    I added to child CSS, this style rule: .cf7ltr { direction:ltr; }
 * and each input filed in the form tags was assigned the class

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

The topic ‘Styling text input – RTL’ 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/)

## Tags

 * [input](https://wordpress.org/support/topic-tag/input/)
 * [styling](https://wordpress.org/support/topic-tag/styling/)

 * 8 replies
 * 2 participants
 * Last reply from: [yanay](https://wordpress.org/support/users/yanay/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/styling-text-input-rtl/#post-6498185)
 * Status: resolved