How to fix narrow form on mobile

  • dayknightchess
    Asked on April 28, 2025 at 9:50 PM

    Hello,

    For some reason one of my forms looks narrow on mobile view. I've attached screenshots for reference. "Day & Knight Chess Club.." form is narrow compared to "Virtual Classes.." form. Please advise.


    How to fix narrow form on mobile Image 1 Screenshot 30

    How to fix narrow form on mobile Image 2 Screenshot 41

    Jotform Thread 26557491 Screenshot
  • Jessica JotForm Support
    Replied on April 29, 2025 at 6:20 AM

    Hi dayknightchess,

    Thanks for reaching out to Jotform Support. We’ll need a bit of time to look into this. We'll get back to you as soon as we can.

    We appreciate your patience and understanding in this.

  • Jessica JotForm Support
    Replied on April 30, 2025 at 4:34 AM

    Hi dayknightchess,

    You can add the following code into your form to resolve this:

    1. First, copy this code:

    /* Fix narrow form in mobile view - Ticket #26557491 */
     ul.form-section {
     padding: 0px 10px;
    }
    }
    /* Ends here */

    2. In Form Builder, click on the Paint Roller icon on the right side of the page to open Form Designer.

    3. Now, in the Form Designer menu, click on the Styles tab, scroll down and paste the code into the Inject CSS Code box. That’s it. The code is automatically saved.

    How to fix narrow form on mobile Image 1 Screenshot 30

    Here is what it will look like once the code is added:

    How to fix narrow form on mobile Image 2 Screenshot 41

    Give it a try and let us know if you need more help.

  • dayknightchess
    Replied on May 12, 2025 at 10:38 AM
    That worked, thank you!!
    ...
  • dayknightchess
    Replied on May 12, 2025 at 10:46 AM
    That worked, thank you!!
    ...
Your Answer