What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Hide lightbox popup on mobile display?

    Asked by livetherapy on November 22, 2014 at 12:42 AM

    Hi,

    I need to hide the Jotform lightbox popup only on mobile devices.  Any thoughts?  I've tried adding the below css within the Jotform CSS pane, to no avail:

     

    @media screen and (max-width: 480px){

        .jotform-form {

            padding : 400px !important;

       }

    }

     

     

    I'd really appreciate some help!  Site is www.hydeparkfatloss.com

    Page URL:
    www.hydeparkfatloss.com

    Screenshot
    Mobile mobile display JotForm site
  • Profile Image

    Answered by Ben on November 22, 2014 at 05:44 AM

    Hi,

    The approach is good, but you can not hide the element that is posted outside of the frame by its code. To do this you should disable the elements holding the jotform instead.

    Please try this and see if it is working:

    @media screen and (max-width: 480px){
        .jt-feedback.ui-draggable, .jt-dimmer {
            display: none;
       }
    }

    -  A note: Since this code is to hide something out on your page, it can not be injected in the jotform itself.

    Do let us know how it foes

    Best Regards,
    Ben