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

  • Profile Image
    Asked on January 31, 2020 at 03: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?



  • Profile Image
    Answered on January 31, 2020 at 07: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:

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