Vertical space between section collapse elements

  • rtolmach
    Asked on November 5, 2021 at 4:03 AM

    How do I get rid of the very large (vertical) white vertical space between section collapse elements? I just want a very thin white line between them.

    Thanks!

  • Nikola JotForm Support
    Replied on November 5, 2021 at 7:00 AM

    You can use this CSS code:

    .form-section-closed {

      margin: 0px!important;

    }

    1636109798 61850de696e2d css1 Screenshot 10

    Or this one:

    .form-section-closed {

     margin-bottom: 0;

     padding-bottom: 0;

     margin-top: 0;

     padding-top: 0;

     height: 67px !important;

    }

    The gap is smaller with the second code, but the opening animation is a bit slower because the height is changed.

    1636109937 61850e716fa68 css3 Screenshot 21

    Related Guide: How to Inject Custom CSS Codes


  • rtolmach
    Replied on November 5, 2021 at 1:33 PM
    Thank you!

    Robert Tolmach
    Co-Founder
    ChangingThePresent.org
    rtolmach@ChangingThePresent.org





    ...