How Can I Change Spacing Between Questions?

Last Update: 

Jotform Form Builder is very flexible and you can customize your forms as you wish. Standard field spacing can be changed as well to fit your needs and match your design better.

When you reduce the spacing between questions, your form will be changed:

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 on the Form Designer icon.
  2. Select the Styles tab.
  3. Change the Question Spacing value (in pixels).
  4. Then scroll down and click on the Save button to 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;

You can 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 on 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 right above the save button. 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.


  • Baddeley - Profile picture
  • culturalvistas - Profile picture
  • kwsajdak - Profile picture
  • couplaguysandgals - Profile picture
  • nolanpatrickgreen - Profile picture
  • amit kumar kushwaha - Profile picture
  • thrivein - Profile picture
  • cburtonhc - Profile picture
  • pinatas - Profile picture
  • Mohd - Profile picture
  • mscqadri - Profile picture
  • andy_ohalloran - Profile picture
  • ishushansky - Profile picture
  • Mark Sabol, Ph.D. - Profile picture
  • Mark Sabol - Profile picture
  • JAISANKAR - Profile picture
  • Sarah - Profile picture
  • CoverStarExperiences - Profile picture
  • Gio - Profile picture
  • Skweekah - Profile picture
  • jignesh patel - Profile picture
  • guest_22812089102042 - Profile picture
  • billroth - Profile picture
  • keedme - Profile picture
  • Alain974 - Profile picture
  • iecampus - Profile picture
  • nahro22 - Profile picture
  • sifugarry - Profile picture
  • davidgoebelstate - Profile picture
  • 405media - Profile picture
  • DebbyWerthman - Profile picture
  • hadassf - Profile picture
  • Tristan Capp - Profile picture
  • BClifton305 - Profile picture
  • walkinwardrobe - Profile picture