Contact Form 7 auto added p tags

前端 未结 5 789
南旧
南旧 2021-01-31 08:54

I have next code inside contact form 7 editor

5条回答
  •  感情败类
    2021-01-31 09:57

    I tried many answers but nothing worked so...
    I ended up using simple CSS to specifically target empty P tags
    in the form itself like this:

    .wpcf7-form p:empty { display: none; }
    

    This worked for me and, its a simple solution.

提交回复
热议问题