Skip Navigation

[Resolved] add blank line within form code

This support ticket is created 3 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Jamal 3 years, 10 months ago.

Assisted by: Jamal.

Author
Posts
#2023529

Hello, how do I add a blank line within a form? I want a blank line between the label and the place where the user types the field value... and also before the submit button. Here is an example form...

[creduserform]
<div class="form-group">
<label>What is your favorite color?</label>
***ADD BLANK LINE HERE***
[cred_field field="favorite-color-field" force_type="field" class="form-control" output="bootstrap"]
</div>
***ADD BLANK LINE HERE***
[cred_field field="form_submit" output="bootstrap" value="ACTIVATE" class="btn btn-primary btn-lg"]
[/creduserform]

#2023589

Hello and thank you for contacting the Toolset support.

Well, you can add new lines using two
tags. Or an a empty <p></p> tag.
hidden link

Or you can use a div with a custom class, and define the styles of the class in the form's CSS section:

<div class="my-separator"></div>

And style it using CSS:

.my-separator {
  min-height: 20px;
  margin: 10px;
 /* etc. */
}

I hope this helps. Let me know if you have any questions.