Contact Form 7
How do I take out the spacing between fields? (2 posts)

  1. otabe
    Posted 5 years ago #

    I see that the question has been resolved here, but I don't see the answer!
    There's too much space between fields, as you can see here:
    I have 3.0.3, by the way.
    Thanks if someone can help.


  2. Jason
    Posted 5 years ago #

    In your form, remove the <p> and </p> paragraph tags around each description and form field.
    Use <br/> for each line break you want to put in the form.

    For example, the default may be like this

    <p>Your Name (required)<br />
        [text* your-name] </p>
    <p>Your Email (required)<br />
        [email* your-email] </p>

    But you can trim it down a bit:

    Your Name (required): [text* your-name] <br/>
    Your Email (required): [email* your-email] <br/>

    Other formatting options can be adjusted manually by editing the style.css files under your folder wp-content/plugins/contact-form-7/ on your FTP server.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic