How can I use a light box form only on desktop?

  • mcjones2003
    Asked on March 26, 2015 at 5:43 PM

    I understand that a lightbox form does not currently have the ability to be responsive. For this reason I am wanting to use a lightbox form only when people access my page from a desktop. Is this possible? Thanks in advance.

  • Mike
    Replied on March 26, 2015 at 7:31 PM

    As far as I understand, you are using auto-loading LightBox, so you can try the next CSS to hide it on the mobile devices.

    <style>
    @media (max-width: 480px) { 
    .jt-dimmer, .jt-feedback {
    display: none;
    }
    }
    </style>

    How can I use a light box form only on desktop? Image 1 Screenshot 20

    It seems to be working well on my side, but still you should test it on your web page to see if it works as expected.

    If you need any further assistance, please let us know.