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

    Image banner not mobile responsive

    Asked by LaRissaHolley on February 22, 2017 at 05:49 PM

    Hi, 
    I have switched to V3 and added the mobile responsive widget to my form, but my banner image is still not mobile responsive. 
    Is there anything else I can do to make it responsive?

    Thanks!

    Page URL:
    https://form.jotform.com/LaRissaHolley/hey-honey-affiliate-program

  • Profile Image
    JotForm Support

    Answered by ashwin_d on February 22, 2017 at 11:30 PM

    Hello LaRissaHolley,

    Please inject the following custom css code in your form and that should solve your problem:

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

    .form-header-group {

        background-image: url("https://www.jotform.com/uploads/LaRissaHolley/form_files/affiliatebannerhex.jpg");

        background-size: 305px 300px;

    }

    }

    The following guide should help you how to inject custom css code in form:  https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    Do try it out and get back to us if the issue persists.

    Thank you!

  • Profile Image

    Answered by LaRissaHolley on February 23, 2017 at 11:48 AM

    Hi! so that did make the image responsive, but it made it stretch/compress the image. Is it possible to maintain the same ratio for the image?

    Thanks again for your help! 

  • Profile Image
    JotForm Support

    Answered by ashwin_d on February 23, 2017 at 12:59 PM

    Hello LaRissaHolley,

    You can change the value of "background-size: 305px 300px;" to change the height & width of the image.

    Thank you!