What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Space between the header and the first set of fields

    Asked by corelight on January 05, 2017 at 03:42 PM

    Hi - I need to reduce the distance between a header and the first row of fields in the form referenced below.  I have tried all the CSS injection approaches in the forum and none of these approaches has changed anything.  Can you help me resolve this problem?  Thanks - Mike

    Page URL:
    https://www.jotform.com//?formID=70045089451151#design

    Screenshot
  • Profile Image
    JotForm Support

    Answered by Jim_R on January 05, 2017 at 05:18 PM

    I noticed you tried the following CSS codes:

    li#id_20 {

        margin-top : -100px !important;

    }

    h2.form-header {

        margin-bottom : -100px !important;

    }

    Please remove those and replace them with these:

    .form-header-group {

       padding-bottom: 0;

       margin-bottom: 0;

    }

    NOTE: If you wish to reduce the space even further, just adjust the margin-bottom to a negative value (e.g. -10px).

    BEFORE:

    AFTER:

  • Profile Image

    Answered by corelight on January 10, 2017 at 04:44 PM

    Thanks!