Form embedded via iframe is not centered on mobile device

  • Profile Image
    DriveNowAutoCredit
    Asked on February 27, 2018 at 02:09 PM

    My form is centered on a desktop site but not on mobile. 1519758523Jotform Not centered on mobile

  • Profile Image
    Kevin_G
    Answered on February 27, 2018 at 02:51 PM

    Please try injecting this CSS code to change how the form displays: 

    .form-all {

        margin-left: auto !important;

        margin-right: auto !important;

    }

    This guide will help you injecting the code: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    I hope this helps. 

  • Profile Image
    DriveNowAutoCredit
    Answered on February 27, 2018 at 03:23 PM

    That works! Thank you!