Title: Textbox width
Last modified: August 30, 2016

---

# Textbox width

 *  Resolved [Jiks](https://wordpress.org/support/users/jiks/)
 * (@jiks)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/textbox-width-box/)
 * Hello,
 * Initially I had my WordPress site as a Blog displaying the latest posts. Then
   under “Reading Settings” I changed from “Your latest posts” to “A static page”.
   When doing this, I also changed all individual pages from “Default Template” 
   to “Full-width (no sidebar)” on “Page Attributes”. As I have several forms across
   the site, and they deliver error messages, info’s etc., the text in those messages
   was aligned in a box, justified. With the change mentioned the length of the 
   boxes containing the text is no longer justified to match the text’s size, but
   is always aligned at the right of each page. How can I fix this issue, for all
   messages in every form?
 * My site: [http://www.speakingoftrading.com/login](http://www.speakingoftrading.com/login)
 * What I want to do:
 * [https://docs.google.com/document/d/1fbk8GMURSAHVPrdtJlTYY3q9YUSE-tM6DRWabF6-aXA/edit?usp=sharing](https://docs.google.com/document/d/1fbk8GMURSAHVPrdtJlTYY3q9YUSE-tM6DRWabF6-aXA/edit?usp=sharing)
 * Any help would be much appreciated,
 * 🙂
 * [https://wordpress.org/plugins/theme-my-login/](https://wordpress.org/plugins/theme-my-login/)

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

 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/textbox-width-box/#post-6351535)
 * You’ll need to modify your CSS rules to restrict the length of the error/info
   boxes.
 *  Thread Starter [Jiks](https://wordpress.org/support/users/jiks/)
 * (@jiks)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/textbox-width-box/#post-6351620)
 * Thanks for the reply. I can adjust the box size but only for one unique message
   or error. I need a way to adjust the box size for all the different messages 
   and errors across all the forms. Do you know how I can achieve that? Is it done
   in the Theme My Login CSS sheet?
 * I can give you the code if you need.
 * Thanks 🙂
 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/textbox-width-box/#post-6351676)
 *     ```
       .login .message,
       .login .error {
           width: YOUR WIDTH HERE;
       }
       ```
   
 *  Thread Starter [Jiks](https://wordpress.org/support/users/jiks/)
 * (@jiks)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/textbox-width-box/#post-6351695)
 * Hi thanks for the reply, but that won’t work.
    As the messages and errors have
   different lengths, what I want is the right side of the box to be aligned to 
   the text inside. The first image is an example:
 * [https://docs.google.com/document/d/1fbk8GMURSAHVPrdtJlTYY3q9YUSE-tM6DRWabF6-aXA/edit?pli=1](https://docs.google.com/document/d/1fbk8GMURSAHVPrdtJlTYY3q9YUSE-tM6DRWabF6-aXA/edit?pli=1)
 * I’d like to achieve that layout for all situations and I can’t do it with a fixed
   width due to the reasons mentioned above.
 * Thanks 🙂
 *  Thread Starter [Jiks](https://wordpress.org/support/users/jiks/)
 * (@jiks)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/textbox-width-box/#post-6351710)
 * Fixed

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

The topic ‘Textbox width’ is closed to new replies.

 * ![](https://ps.w.org/theme-my-login/assets/icon-256x256.png?rev=1891232)
 * [Theme My Login](https://wordpress.org/plugins/theme-my-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/theme-my-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/theme-my-login/)
 * [Active Topics](https://wordpress.org/support/plugin/theme-my-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/theme-my-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/theme-my-login/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Jiks](https://wordpress.org/support/users/jiks/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/textbox-width-box/#post-6351710)
 * Status: resolved