How to remove the padding top and buttom of a Text field.

  • martyrob
    Asked on January 18, 2018 at 4:38 PM

    In my form, I insert the Text (basic element) to put notes or instructions. I've tried changing the padding in the <> section, but have had no luck :(

    Attached is an example. The blue outline that you see is from when I clicked on the box to edit it. I would like to reduce the space above & below the "general information."

    As an aside, I also tried to put in some CSS to create a border, but that did not work either!

    Thank you for your help!

    Jotform Thread 1354126 Screenshot
  • David JotForm Support Manager
    Replied on January 18, 2018 at 5:06 PM

    Please try injecting this CSS code: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    #id_37,.form-html{

    padding-top: 0px !important;

    padding-bottom: 0px !important;

    }

    Let us know if you need more help.