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

    Can I make the image shrink for mobile view?

    Asked by angiehills on February 20, 2014 at 03:27 PM

    Can I make the header image srhink for mobile view? I've checked it on my phone & the form looks great - but the image doesn't shirnk.

    http://a.pgtb.me/v8hS32

     

    thanks!

    shrink Mobile checked thanks
  • Profile Image
    JotForm Support

    Answered by BDAVID on February 20, 2014 at 04:14 PM

    Hi, could you please inject the fallowing css code into your form:

    @media only screen

    and (min-device-width : 320px)

    and (max-device-width : 480px) {

    .form-all {

    width: 320px !important;

    }

    .form-line {

    padding-top: 0px !important;

    padding-bottom: 0px !important;

    padding-left: 3px !important;

    }

    img.form-image {

    max-width: 100% !important;

    height: auto !important;

    }

    #id_57.form-line {

    padding-left: 36px !important;

    padding-right: 36px !important;

    }

    }

    Let us know if that helps you.

  • Profile Image

    Answered by angiehills on February 21, 2014 at 11:00 AM

    It did reduce the header image on my mobile - but it seems to have a emtpy space on the left & the image is too far to the right & cut off on my screen.

  • Profile Image
    JotForm Support

    Answered by NeilVicente on February 21, 2014 at 11:23 AM

    Kindly try this:

    @media only screen

    and (min-device-width : 320px)

    and (max-device-width : 480px) {

    .form-all {

    width: 320px !important;

    }

    .form-line {

    padding-top: 0px !important;

    padding-bottom: 0px !important;

    padding-left: 3px !important;

    }

    img.form-image {

    max-width: 100% !important;

    height: auto !important;

    }

    }

  • Profile Image

    Answered by angiehills on February 21, 2014 at 11:40 AM

    Perfect! Thank-You!