Title: Width CSS not working
Last modified: August 31, 2016

---

# Width CSS not working

 *  Resolved [LeePLester](https://wordpress.org/support/users/leeplester/)
 * (@leeplester)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/width-css-not-working/)
 * Hi there, to make my form appear on a single line and adjust the widths of the
   boxes I’ve added the custom CSS to my stylesheet:
 *     ```
       .mc4wp-form label,
       .mc4wp-form input[type="text"],
       .mc4wp-form input[type="email"] {
       	display: inline-block !important;
       	width: 45%;
       }
       ```
   
 * But whilst I can see that the boxes are trying to line up, the widths are not
   being affected by the second part of the code (have tried it with several different
   numbers).
 * You can see my efforts at [http://freemindproject.wpstagecoach.com](http://freemindproject.wpstagecoach.com)
 * Thanks for any thoughts…
 * Lee
 * [https://wordpress.org/plugins/mailchimp-for-wp/](https://wordpress.org/plugins/mailchimp-for-wp/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Harish Chouhan](https://wordpress.org/support/users/hchouhan/)
 * (@hchouhan)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/width-css-not-working/#post-6918566)
 * Hello Lee,
 * I just checked your website and noticed some CSS similar to the one you shared
   added to the CSS file in your active theme, i.e. [http://freemindproject.wpstagecoach.com/wp-content/themes/Avada/style.css?ver=3.9.1](http://freemindproject.wpstagecoach.com/wp-content/themes/Avada/style.css?ver=3.9.1).
 * Can you please confirm if the issue is fixed? If not, I would suggest adding “!
   important” after the percentage sign.
 *     ```
       .mc4wp-form label,
       .mc4wp-form input[type="text"],
       .mc4wp-form input[type="email"] {
       	display: inline-block !important;
       	width: 45% !important;
       }
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Width CSS not working’ is closed to new replies.

 * ![](https://ps.w.org/mailchimp-for-wp/assets/icon-256x256.png?rev=1224577)
 * [MC4WP: Mailchimp for WordPress](https://wordpress.org/plugins/mailchimp-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailchimp-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailchimp-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/mailchimp-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailchimp-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailchimp-for-wp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Harish Chouhan](https://wordpress.org/support/users/hchouhan/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/width-css-not-working/#post-6918566)
 * Status: resolved