• I love this simple contact form 7, although it puts in loads of un-needed html, which is conflicting and breaking my designs.

    How can i stop contact form 7 from wrapping inputs in <span>, i can see adding code to my wp-config to disable the line breaks, but nothing to get rid of this annoying SPAN!

    <br />
                    <span class="wpcf7-form-control-wrap your-name"><input type="text" name="your-name" value="" class="wpcf7-text wpcf7-validates-as-required" size="40" /></span><br />

    it would be absolutely stupid if i have to let extra un-nessasary code bloat the fronted, and have to re-design AROUND it.

Viewing 16 replies (of 16 total)
  • My issue was simply adding a new line inside my code and that was turning into a break tag in the output (much like WP auto format). The span tags on the current version do not cause a problem for me when putting the contact form in a table and having fields next to each other as long as I keep the fields on the same row of source code so you could try upgrading but YMMV.

Viewing 16 replies (of 16 total)
  • The topic ‘Remove Span elements from Contact form 7’ is closed to new replies.