Can I reduce padding without embedding entire form code?

  • Siryn621
    Asked on June 2, 2015 at 5: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?

  • Elton Support Team Lead
    Replied on June 2, 2015 at 6:13 PM

    Hi,

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

    .jotform-form,
    .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.