Title: Form width = max-width (why?)
Last modified: May 15, 2020

---

# Form width = max-width (why?)

 *  Resolved [Chris](https://wordpress.org/support/users/osiak/)
 * (@osiak)
 * [6 years ago](https://wordpress.org/support/topic/form-width-max-width-why/)
 * Hello,
    the new form width setting is super – I’ve been waiting for this. However
   it doesn’t work since it actually does not set the CSS value of `width`, but `
   max-width`:
 *     ```
       .ml-container #login {
           max-width: XXXpx;
       }
       ```
   
 * This doesn’t make sense. Could you please change the setting in the customizer
   so it reflects the `width` CSS parameter instead of the `max-width`

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

 *  [Miha](https://wordpress.org/support/users/mplusb/)
 * (@mplusb)
 * [6 years ago](https://wordpress.org/support/topic/form-width-max-width-why/#post-12852245)
 * Hi [@osiak](https://wordpress.org/support/users/osiak/),
 * Thank you for reaching out and for your feedback!
    It is actually this way for
   responsive purposes. If you set it up to be 800px, on mobile devices the form
   would go out of the page. But with max-width and width 100% it will make it as
   large as the screen. Hope this makes sense.
 * Warmly,
    Mihaela
 *  Thread Starter [Chris](https://wordpress.org/support/users/osiak/)
 * (@osiak)
 * [6 years ago](https://wordpress.org/support/topic/form-width-max-width-why/#post-12853606)
 * Yes, it does. However adding a setting for mobile (which I believe is used less
   often, at least as far as admin panel) and not adding one for desktop doesn’t
   make that much sense. Would be nice to have both then. Of course it can be added
   via custom css, but then – everything can…

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

The topic ‘Form width = max-width (why?)’ is closed to new replies.

 * ![](https://ps.w.org/colorlib-login-customizer/assets/icon-256x256.jpg?rev=1862920)
 * [Custom Login Page Customizer](https://wordpress.org/plugins/colorlib-login-customizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/colorlib-login-customizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/colorlib-login-customizer/)
 * [Active Topics](https://wordpress.org/support/plugin/colorlib-login-customizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/colorlib-login-customizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/colorlib-login-customizer/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [max-width](https://wordpress.org/support/topic-tag/max-width/)
 * [width](https://wordpress.org/support/topic-tag/width/)

 * 2 replies
 * 2 participants
 * Last reply from: [Chris](https://wordpress.org/support/users/osiak/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/form-width-max-width-why/#post-12853606)
 * Status: resolved