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

    Can I reduce padding without embedding entire form code?

    Asked by Siryn621 on June 02, 2015 at 05:15 PM

    I created a form for a client and embedded it using the javascript tag to limit the code. There is so much empty space between the page header and the beginning of the form, and I would like to be able to reduce that, again, without having to copy the entirety of the form code. I know there are CSS updates I can make if I copy all of the code, but is there any way to do that with the javascript form code?

    Page URL:

  • Profile Image
    JotForm Support

    Answered by EltonCris on June 02, 2015 at 06:13 PM


    Yes that's possible. You can reduce the spacing around the form by injecting the following CSS codes.

    .form-header-group {padding: 0;}

    Guide: http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes-to-your-Form

    Paste it at the bottom of the existing CSS codes.

    If you required further assistance, let us know.