Cannot change line spacing between questions

  • plcwaldorf
    Asked on January 28, 2015 at 11:04 AM

    Hi, I have tried repeatedly to change the spacing between questions in my form usi8ng the Preferences "Question Spacing" field, but regardless of the change I make there, it is not reflected on the form itself.  Nothing changes.

     

    Not sure about the Input custom CSS option:  if I erase what's shown in that box and simply input the suggested two lines of code is that what should be done.  I assume I would not be losing anything by deleting what's shown there now?

     

    thanks

    Dan Brennan

  • David JotForm Support
    Replied on January 28, 2015 at 12:08 PM

    Hi,

    Since you have an old theme applied to the form, these are a bit trickier to change.  First, you need to remove this line from the CSS already applied to your form.  You can do this in the form builder:

    http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    Near the bottom of the CSS, there will be a section that looks like this:

    .form-line {
    padding: 2% 5%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    }

    Delete the highlighted line.  That will remove the % padding between lines.

    After that, open the form designer:

    Cannot change line spacing between questions Image 1 Screenshot 30

    From there you can adjust the line layout as you like:

    Cannot change line spacing between questions Image 2 Screenshot 41

    Let us know if you have any further questions and we will be happy to help.

  • plcwaldorf
    Replied on January 29, 2015 at 7:43 AM

    Thanks very much, this worked.

  • Elton Support Team Lead
    Replied on January 29, 2015 at 11:20 AM

    Glad my colleague was able to assist you. Cheers! :)