How to remove this specific padding which only appears in lightbox view?

  • LagarderePLUS
    Asked on January 31, 2020 at 3:22 AM

    Hi, we have created a form but still have layout differences in lightsbox and normal ifram view. Could you maybe take a look at this?`Why is this happening?



    1580458899Unbenannt Screenshot 10


    1580458919Unbenannt1 Screenshot 21

    Jotform Thread 2141081 Screenshot
  • AshtonP
    Replied on January 31, 2020 at 7:19 AM

    To solve your problem and provide you custom CSS code, we will need to see your webpage URL where you have embedded your form. Only then we will be able to give you the correct CSS code.

    Initially, if can try by injecting this CSS code:

    .jotform-form {

    padding: 0px !important;

    }

    You can increase/decrease the value of margin-top based on how your embedded form appears on the webpage. The following guide should help you how to inject custom CSS code in form:  https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    Hope this helps. Inform us if you need further assistance.