Support » Plugins and Hacks » Remove Span elements from Contact form 7

Remove Span elements from Contact form 7

  • 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.

  • The topic ‘Remove Span elements from Contact form 7’ is closed to new replies.