• 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)
  • Hello @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

    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.