Forums

[Plugin: Contact Form 7] How to get ride of empty lines? (4 posts)

  1. lisalight
    Member
    Posted 3 months ago #

    Hi, I am testing out the Contact Form 7 plugin on my new site. However I do not like that there is an empty line between the title/description of a box and the box to write in itself. It does not look good, it's gives a bad overview and take up to much space.

    Does anyone of you know how to get ride of the empty lines?

    This is what it looks like right now: http://www.rayoflightyoga.se/kontakt

    This is the code that I have used:

    <p>Förnamn *
    [text* your-first name] </p>

    <p>Efternamn *
    [text* your-last name] </p>

    <p>E-mailadress *
    [email* your-email] </p>

    <p>Telefonnr / Skype
    [text your-phone] </p>

    <p>Ort
    [text your-city] </p>

    <p>Websida
    [text your-URL] </p>

    <p>Titel *
    [text* your-subject] </p>

    <p>Meddelande *
    [textarea* your-message] </p>

    <p>[submit "Sänd"]</p>

    /Lisalight

  2. Takayuki Miyoshi
    Member
    Posted 3 months ago #

    Probably a theme issue. What happens if you switch to the default theme?

  3. buried alive
    Member
    Posted 3 months ago #

    @lisalight I was also getting the problem of <p>. I found one solution in this forum. You can give value 'false' in

    if ( ! defined( 'WPCF7_AUTOP' ) )
    	define( 'WPCF7_AUTOP', false );

    in wp-contact-form-7.php. Default value is 'true', thats making problems.

    Refer this link also...

    http://wordpress.org/support/topic/plugin-contact-form-7-use-fieldset-false-p-tags-around?replies=4

  4. lisalight
    Member
    Posted 3 months ago #

    Hi Buried Alive,
    Your solution sounded great. Tried it now, however it did not work.

    Hi Takayuki Miyoshi,
    I am afraid to switch back to the default theme and maybe have to fix my settins once I put on my current Theme again. I will write the support of my theme and ask if there is a clash with this particular plusing.

    Thank you both for your answers. I fully appreciate it. If anyone else has got any good ideas, you are welcome to share them.

    Lisa

Reply

You must log in to post.

About this Topic