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

  • Profile Image
    LagarderePLUS
    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?



    1580458899Unbenannt.PNG


    1580458919Unbenannt1.PNG

  • Profile Image
    AshtonP
    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:  https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

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