Title: adding style display: inline-block
Last modified: August 21, 2016

---

# adding style display: inline-block

 *  Resolved [drehimself](https://wordpress.org/support/users/drehimself/)
 * (@drehimself)
 * [12 years ago](https://wordpress.org/support/topic/adding-style-display-inline-block/)
 * The latest version (3.8) seems to add an inline-block style to error form fields.
   For example:
 * <span class=”wpcf7-form-control-wrap your-name” style=”display: inline-block;”
   >
 * This is screwing up my layout. Previous versions set it to display: inline which
   was fine for me. I can’t for the life of me figure out where this is being set.
   Maybe it’s a wordpress 3.9 thing? Is there anyway I can change it?
 * [https://wordpress.org/plugins/contact-form-7/](https://wordpress.org/plugins/contact-form-7/)

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

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [12 years ago](https://wordpress.org/support/topic/adding-style-display-inline-block/#post-4820555)
 * > The latest version (3.8) seems to add an inline-block style to error form fields.
 * No, it doesn’t.
 * Try once deactivating all other plugins and switching to the default theme to
   figure out what is adding the style attribute.
 *  Thread Starter [drehimself](https://wordpress.org/support/users/drehimself/)
 * (@drehimself)
 * [12 years ago](https://wordpress.org/support/topic/adding-style-display-inline-block/#post-4820558)
 * Thanks.
 * You’re right, seems to be a wordpress 3.9 thing. Fixed it by just overriding 
   with my own CSS rule.
 *  [anka86](https://wordpress.org/support/users/anka86/)
 * (@anka86)
 * [12 years ago](https://wordpress.org/support/topic/adding-style-display-inline-block/#post-4820664)
 * I have the same problem.
 * **<span class=”wpcf7-form-control-wrap contact_email” style=”display: inline-
   block;”>**
 * I dont want the style to be display:inline-block…
 * Drehimself could you tell me how did you fix this problem? Thank you!
 *  Thread Starter [drehimself](https://wordpress.org/support/users/drehimself/)
 * (@drehimself)
 * [12 years ago](https://wordpress.org/support/topic/adding-style-display-inline-block/#post-4820665)
 * Anka86,
 * You have to modify the CSS and add the following rule:
 *     ```
       span.wpcf7-form-control-wrap {
       	display: inline !important;
       }
       ```
   
 * Hope this helps.
 *  [anka86](https://wordpress.org/support/users/anka86/)
 * (@anka86)
 * [12 years ago](https://wordpress.org/support/topic/adding-style-display-inline-block/#post-4820666)
 * You are amazing!Thank you again!
 *  [rambillo](https://wordpress.org/support/users/rambillo/)
 * (@rambillo)
 * [12 years ago](https://wordpress.org/support/topic/adding-style-display-inline-block/#post-4820822)
 * A big THANK YOU to you, [@drehimself](https://wordpress.org/support/users/drehimself/),
   for zeroing in on the root of this behavior and providing a fix.
 * [@takayuki](https://wordpress.org/support/users/takayuki/) Miyoshi, many thanks
   for all of your efforts with your wonderful and very useful plugin!
 * You may wish to consider adding this issue and its resolution to your FAQ even
   though the issue may be caused by WordPress core itself. We can’t yet confirm
   a root cause (just got starting debugging), but can say we’ve never had this 
   behavior with your awesome plugin previously. On one of our current projects,
   we’re running into a broken layout when invalid elements are validated, having
   been given a `display: inline-block;` That breaks our layout even with `html_class
   ="use-floating-validation-tip"` in use.

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

The topic ‘adding style display: inline-block’ 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/)

 * 6 replies
 * 4 participants
 * Last reply from: [rambillo](https://wordpress.org/support/users/rambillo/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/adding-style-display-inline-block/#post-4820822)
 * Status: resolved