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

  • Profile Image
    mcjones2003
    Asked on March 26, 2015 at 05: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.

  • Profile Image
    Mike
    Answered on March 26, 2015 at 07: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>

    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.