How can I reduce the amount of space at the top of my form?

  • aaron@thepinspot.com
    Asked on April 25, 2015 at 12:56 PM

    I know VERY little about code, so I just copy and paste the code generated by JotForm into my web design program (XSitePro). Is there a simple way to reduce the amount of space at the top of the form?

  • Ben
    Replied on April 25, 2015 at 5:01 PM

    I would first like to suggest to use iframe embed code since it seems that there are some conflict issues on your website.

    Once you do that, you should add the following code to your jotform:

    How can I reduce the amount of space at the top of my form? Image 1 Screenshot 20

    Space indicated by 1 can be reduced using this code:

    form.jotform-form {
        padding-top: 4px;
    }

    Space indicated by 2 can be reduced by using this code:

    div.form-all {
        padding-top: 0px;
    }

    You can of course change the numbers (marked with bold) to your liking.

    Also, if you wish, you can add both of the codes to your jotform as well and to see how to add them, please follow these steps: How to inject Custom CSS Codes?

    Do let us know if you have any further questions.