Title: insane css problems
Last modified: February 9, 2021

---

# insane css problems

 *  [warcher](https://wordpress.org/support/users/warcher/)
 * (@warcher)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/insane-css-problems/)
 * automatically adds <span> and <p> tags on everything and the whole thing is plagued
   by premade css. Adding your own styling is a real pain. Even if you write the
   whole form with html it will surround everything with <span> and make it a nightmare.

Viewing 1 replies (of 1 total)

 *  [Yordan Soares](https://wordpress.org/support/users/yordansoares/)
 * (@yordansoares)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/insane-css-problems/#post-14024172)
 * Hello [@warcher](https://wordpress.org/support/users/warcher/),
 * This behavior can be deactivated setting the `WPCF7_AUTOP` constant in `false`
   in your `wp-config.php`, this way:
 * `define( 'WPCF7_AUTOP', false);`
 * See [Controlling behavior by setting constants](https://contactform7.com/controlling-behavior-by-setting-constants/)
 * This line must be placed before _/* That’s all, stop editing! Happy publishing.*/_
 * If you prefer to use your child theme functions.php or a custom plugin, using
   this filter instead the `WPCF7_AUTOP` constant :
 * `add_filter('wpcf7_autop_or_not', '__return_false');`
 * Hope this helps you.
 * Best regards,
    Yordan.

Viewing 1 replies (of 1 total)

The topic ‘insane css problems’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Yordan Soares](https://wordpress.org/support/users/yordansoares/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/insane-css-problems/#post-14024172)