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

    How to center a form on a mobile device

    Asked by eroma on September 20, 2016 at 12:27 AM

    I tried using the mobile response align center but on chrome in andorid my form is still aligned to the left.  Can you let me know what I have to do to resolve this?  Thanks!

     

     

    Page URL:
    http://www.eromadayspa.com/contact.asp

  • Profile Image
    JotForm Support

    Answered by EltonCris on September 20, 2016 at 02:00 AM

    The standalone form by default is centered on the page.

    In your form, there is a custom CSS code injected into it that changes its width to 'auto' when viewed on mobile. This what makes the form to shift on the left side.

    To center align the form back, inject this CSS codes to your form.

    @media only screen and (max-device-width: 550px){

    .form-all {max-width: 420px !important;}

    }

    Guide: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    It should look like this afterward on mobile

    Hope this helps!

  • Profile Image

    Answered by eroma on September 20, 2016 at 02:46 AM
    That worked perfectly. Thank you very much!!!

    Regards,
    Dwayne



    ...