How to Center the Form?

  • ErbertAndGerberts
    Asked on November 2, 2016 at 10:49 PM

    Is there a way to center the web form? I created a form from a JotForm template. The default width is 580px, which is fine. But the form is right aligned on a desktop webpage. How can I get the form to center align to the overall page width?

     

  • emily
    Replied on November 3, 2016 at 3:17 AM

    To center your form, please try to add the custom CSS codes below.  

    .form-all {

           margin: auto !important;

    }

    Here is a guide on how to inject CSS code into your form. 

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

    I hope this helps. If you have any problem, please contact us.

    Thanks.

     

     

  • ErbertAndGerberts
    Replied on November 3, 2016 at 11:49 AM

    Thanks for the quick response and the a quick, simple solution. It worked like a charm! Thanks! :-)

  • Support_Management Jotform Support
    Replied on November 3, 2016 at 1:37 PM

    Thanks for taking your time keeping us posted that the solution worked great :)

    If you have other questions, just open a new thread so we can assist you.