Vertical space between section collapse elements

  • Profile Image
    rtolmach
    Asked on November 05, 2021 at 04: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!

  • Profile Image
    Nik_M
    Answered on November 05, 2021 at 07:00 AM

    You can use this CSS code:

    .form-section-closed {

      margin: 0px!important;

    }

    1636109798_61850de696e2d_css1.PNG

    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.gif

    Related Guide: How to Inject Custom CSS Codes


  • Profile Image
    rtolmach
    Answered on November 05, 2021 at 01:33 PM
    Thank you!

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





    ...