How to reduce spaces between sections?

  • Profile Image
    ddeluca
    Asked on March 31, 2026 at 10:45 PM

    In addition to my question above, I have one other request for help.

    I have the section bars set to be thin, but they have a wide space after them in the form:

    CSS Customization: Aligning Single Choice Radio Button Other Field Inline Image 1 Screenshot 10

    I have this code:

    .form-collapse-table {

      height : 30px !important;

      min-height : 30px !important;

      max-height : 30px !important;

      padding-top : 0 !important;

      padding-bottom : 0 !important;

      margin-top : 0 !important;

      margin-bottom : 0 !important;

    }


    thanks,

    Dorothy

  • Profile Image
    ddeluca
    Replied on March 31, 2026 at 10:51 PM

    This is to remove space between collapsed sections, when expanded, the spacing is fine.


    Thanks,

    Dorothy

  • Profile Image
    Raymond JotForm Support
    Replied on March 31, 2026 at 10:55 PM

    Hi Dorothy,

    Thanks for reaching out to Jotform Support. We can do that by Injecting CSS Codes into your form. Let me show you how:

    1. First, copy this code:

    /*reduce form collapse section space*/
    .form-section-closed {
          height: 44px !important;
          margin: 2px 4px !important;
    }

    2. In Form Builder, click on the Paint Roller icon .

    3. Then, in the Form Designer menu on the right, go to the Styles tab.

    4. Finally, paste the CSS code into the Inject Custom CSS code field.

    How to reduce spaces between sections? Image 1 Screenshot 30

    Here's how it would appear:

    How to reduce spaces between sections? Image 2 Screenshot 41

    Let us know if you have any other questions.

  • Profile Image
    ddeluca
    Replied on March 31, 2026 at 11:30 PM

    Perfect, thanks!


    Dorothy

  • Profile Image
    Podo: Support Specialist
    Replied on March 31, 2026 at 11:30 PM

    Hi Dorothy DeLuca,

    Your request has been answered and the thread is closed.

    If you have another question or need more help, feel free to reply here and we'll assist you right away.