How Can I Change Spacing Between Questions?

December 31, 2021

You wanted to change the vertical spacing between your questions…

from this:


to this:


There are a couple of ways to do this. Here’s the easy way to change the spacing between all of the fields:

Question Spacing

  1. Click the Form Designer icon.
  2. Click the Styles tab.
  3. Change the value of Question Spacing (in pixels).
  4. Then Save your changes.

Inject Custom CSS

Still, in the Form Designer window, go to the Inject Custom CSS section and add the following custom CSS code:

.form-line {
    margin-bottom: 3px;

Or, follow this guide to inject the codes: How to Inject Custom CSS Code in Your Form

Advanced Designer

You can also change the spacing between form fields through the Advanced Designer. Still on that same Form Designer window, while on the Styles tab, scroll down to the bottom and click the Advanced Designer button.


On the Advanced Designer page, click the Design tab, expand the Line Layout section, then increase or decrease the line spacing and/or vertical padding. Don’t forget to save the changes you made by clicking the “Save” icon (you will know it is properly saved if the green check icon appears).


After, that you can go back to the Form Builder by clicking the “Back To Builder” icon. You may also preview your form through the Designer page, by clicking the “Preview Form” icon after saving the changes you made.

Questions? Please let us know below!

Was this guide helpful?
Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum:

Contact Jotform Support:

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.