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

    Borderless POPUP-lightbox picture/image

    Asked by szendavi on January 28, 2016 at 09:10 AM

    Hi!

    I'd like to make a borderless/full frame popup window, with just one uploaded picture? What should I set up, to have mi popup lightbox window without any white,... frame and anything. JUST 1 PICTURE + a close "X" button.

     

    Thanks

    David

    Screenshot
  • Profile Image
    JotForm Support

    Answered by mert on January 28, 2016 at 12:13 PM

    Hi David,

    You can use the following CSS code to disable the padding and margin values of the form and also, you can stretch the image's width and height values by injecting some custom CSS to your form.

     

    img {

    width: 100%;

    height: 100%;

    }

    .form-line, .form-all, .jotform-form{

    padding: 0 !important;

    margin: 0 !important;

    }

     

    Please, try this one and let us know the results.

    Thanks.

  • Profile Image

    Answered by szendavi on January 29, 2016 at 06:01 AM

    Wow, great, worked like a charm:) 

    I'm very happy, plus thanks for the quick answer too:)

     

    Many thanks,

    David

  • Profile Image
    JotForm Support

    Answered by mert on January 29, 2016 at 07:25 AM

    David, you are most welcome. I'm happy to see that the codes have worked for you. If you need anything else about this, please do let us know.

     

    Have a great day.