I want a transparent background in the Lightbox form

  • Profile Image
    albbb
    Asked on October 23, 2017 at 06:15 PM

    I am using the embed Lightbox and I want to turn off the black background i just want a transparent background 

  • Profile Image
    Jan
    Answered on October 23, 2017 at 10:21 PM

    Please try to insert this CSS code in the stylesheet of your webpage or inside the Lightbox code:

    <style>
    .jt-dimmer {
    opacity: 0 !important;
    }
    </style>


    In the Lightbox code, here's how it should look like:

    <style>
    .jt-dimmer {
    opacity: 0 !important;
    }
    </style>
    <script src="https://form.jotform.com/static/feedback2.js" type="text/javascript"> var JFL_12345678910123 = new JotformFeedback({ formId: '12345678910123', base: 'https://form.jotform.com/', windowTitle: 'Form Title', background: '#FFA500', fontColor: '#FFFFFF', type: 'false', height: 500, width: 700, openOnLoad: false }); </script> <a class="btn lightbox-12345678910123" style="margin-top: 16px"> Form Title </a>

    Here's the result:

    150881163810-24-gle1j.png

    Hope that helps. Thank you.