• Hi,

    for some reason I see a space below the field countrytext*.

    When I inspect via the “Inspect Element” of my browser I see there is <br> after the field.

    In the form I did put it.

    How can I remove it?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter blancolandau

    (@blancolandau)

    Any comment here?

    Thanks.

    You are right, the <br> is the enemy.

    Don’t know where the <br> is from.

    Here is my page code block without <br> :

    <p>Where are you from? (required) <br />
        <span class="wpcf7-form-control-wrap countrytext-494"><input type="text" name="countrytext-494" value="" size="40" class="wpcf7-form-control wpcf7-text wpcf7-countrytext wpcf7-validates-as-required" aria-required="true" aria-invalid="false" placeholder="Country selector ..." /></span> </p>

    My form definiton :

    <p>Where are you from? (required) <br />
        [countrytext* countrytext-494 placeholder "Country selector ..."] </p>

    Using Country & Phone Field Contact Form 7 2.2.2 with WP 5.4.2.

    Do you have a blank line in your CF7 form definition?

    • This reply was modified 4 years, 8 months ago by kraeMit.
    • This reply was modified 4 years, 8 months ago by kraeMit. Reason: correction
    • This reply was modified 4 years, 8 months ago by kraeMit.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Line break’ is closed to new replies.