How can I center my shoe to view it on the mobile device?

  • Nicole M Yelder
    Asked on September 13, 2016 at 5:25 AM

    https://form.jotform.com/62522158577158

     

    when i view it on my cell phone it doesnt show the same thing as viewing it on the computer. the picture in the header which is my logo is not centered on the cell phone view, only on the computer view. Can you please assist me with this please?

  • Elton Support Team Lead
    Replied on September 13, 2016 at 9:36 AM

    Inject this CSS codes to your form, this should center align the image header and scale it down properly when viewed on mobile.

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

    .form-header-group.hasImage>.header-text {display: none;}    

    .form-header-group.hasImage>.header-logo {width: 100%;}

    .header-logo-left {margin-right: 0;width: 100%;height: auto;}

    .form-all {border: none;}

    }

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

    Expected result:

    How can I center my shoe to view it on the mobile device? Image 1 Screenshot 20

    Hope this helps!