Can the pop out lightbox be drag-able

  • Profile Image
    AdrianSeng
    Asked on September 19, 2013 at 02:43 PM

    Good day,

    I have a lightbox, and it opens out fine on desktop. But on mobile, somehow only half of the box is shown. This there any code that i can make the lightbox drag around the screen?

    www.liv-on-wilkie-condo.com.sg

    thanks in advance

    Best regards,

    Adrian

  • Profile Image
    EltonCris
    Answered on September 19, 2013 at 08:23 PM

    Hi Adrian,

    How about making the form scrollable on mobile device? This might help fixed the problem. Simply add this css on top of the lightbox form source code. Or, to ensure the following code would work, please paste it between the head </head> tag of your page. 

    <style>

    @media only screen and (max-device-width: 550px){

    .jt-content{

    width:270px !important;

    overflow-x:hidden;

    }

    .jt-feedback{

    position: absolute !important;

    left: 50% !important;

    top: 285px !important;

    }

    }

    </style>

    Hope this helps. Best Regards!