Making Your Form Background Mobile Responsive

  • pecoward
    Asked on June 12, 2024 at 8:10 PM

    my forms are not showing up correctly on mobile

  • Raymond JotForm Support
    Replied on June 12, 2024 at 10:44 PM

    Hi Patty,

    Thanks for reaching out to Jotform Support. I checked and tested your form on smaller screen but everything seems to be responding correctly. Please check out the screencast below for my result:

    Making Your Form Background Mobile Responsive Image 1 Screenshot 20

    I've cleared your form's cache which should help. Can you try it again using a real mobile device and see how it goes? If the same thing happens again, let us know with a screenshot of what's happening so we can understand and help you better.

    Keep us updated and let us know if you need any help.

  • pecoward
    Replied on June 13, 2024 at 8:36 AM

    I had to switch the layout to card form for it to display correctly, I really would like to use the classic form. How do I fix the mobile view for this?

  • Nicole JotForm Support
    Replied on June 13, 2024 at 9:24 AM

    Hi Patty,

    Thanks for reaching out to us for help. In order to understand the issue better, can you share the details I listed below:

    • Your phone model
    • The version you are using
    • Screen recording of the issue

    You can share the video recording on any public sharing platform like Google Drive or Dropbox, or you can simply use Loom to record the video and share the video link with us.

    Once we hear back from you, we'll be able to move forward with a solution.

  • pecoward
    Replied on June 13, 2024 at 10:05 AM

    Iphone 11

    version 16.6.1

    Using google browser

    Image is distorted although the mobile view on the builder (mobile view) shows correctly.

    Making Your Form Background Mobile Responsive Image 1 Screenshot 20

  • Simon JotForm Support
    Replied on June 13, 2024 at 10:59 AM

    Hi Patty,

    That helped me to understand what’s happening. Injecting the Custom CSS Code below would fix your issue:

    @media screen and (max-width: 480px){
     .supernova {
      background-repeat: repeat!important;
      background-size: contain!important;
    }
    }

    Can you go ahead and try it again and let us know how it goes? If the same thing happens again, we'll investigate it more to see if we can figure out what's going on.

    Keep us updated and let us know if you need any more help.

  • pecoward
    Replied on June 13, 2024 at 12:49 PM

    With the above CSS Code it now looks like this:

    Making Your Form Background Mobile Responsive Image 1 Screenshot 30

    I really would like it to look like the preview... like this....

    Making Your Form Background Mobile Responsive Image 2 Screenshot 41


  • Clint_F
    Replied on June 13, 2024 at 1:39 PM

    Hi Patty,

    When I cloned and tested your form, the same thing happened for me. After investigating it a bit, I found a solution. Can you inject this CSS code:

    @media screen and (max-width: 480px){
      body {
        position: relative;
      }
      
      .form-all {
        position: absolute;
        height: 100vh;
        width: 100vw;
        top: 0;
        overflow: scroll;
        margin-top: 0;
      }
    }

    Check out the screencast below to see my results:

    Making Your Form Background Mobile Responsive Image 1 Screenshot 20

    Give it a try and let us know how it goes.

  • pecoward
    Replied on June 13, 2024 at 2:30 PM

    YES! That's it! Thank you!!!!!

 
Your Answer