Can't center on mobile

  • Profile Image
    Asked on February 06, 2018 at 01:22 AM


    I'm not able to make my form center on Mobile. Can you help me with this?

  • Profile Image
    Answered on February 06, 2018 at 04:16 AM

    Add this CSS code to your form:

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

    .jotform-form .form-all {

        margin: 0 auto !important; 


    How to Inject Custom CSS Codes


    If you want to center the submit buton as well on mobile devices add this CSS as well to your form: 

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

    .form-buttons-wrapper {

        text-align: center!important;




    Here is my demo form: 

    Feel free to test it and clone it

    Let us know if you need further assistance. 

  • Profile Image
    Answered on February 06, 2018 at 02:32 PM

    It worked great! Thank you very much guys :)