How can I center the fields in a responsive form?

  • Profile Image
    eastendyves
    Asked on October 13, 2016 at 01:50 PM

    Hey Jotform Gang,

    When my responsive form shrinks with the display, the fields align on the left (but not the submit button).

    How can I keep everything centered?

  • Profile Image
    BDAVID
    Answered on October 13, 2016 at 05:42 PM

    Please try injecting the following code: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

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

    .form-line{

        left: 8%;

    }

    id_2#{

        margin-left: -8% !important;

    }

    }

    Example:

    Let us know if you need more help.

  • Profile Image
    eastendyves
    Answered on November 02, 2016 at 05:27 PM

    That's great! Thanks!