What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Form fields cut off on mobile

    Asked by buymorefans on February 28, 2017 at 09:33 PM

    Hi,

     

     

    Form fields are cut off on mobile, especially the credit card exp month and year. Check it out at this link:

     

    https://mercadodefans.com/comprar-fans-facebook-pago#ANqrCQds

     

    https://www.jotform.com/build/70588338365972

     

     

     

    Let me know how to fix thanks,

     

    Page URL:
    https://mercadodefans.com/comprar-fans-facebook-pago#ANqrCQds

  • Profile Image
    JotForm Support

    Answered by Charlie on March 01, 2017 at 04:01 AM

    Hi,

    See if this custom CSS code works for you:

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

        #cid_13 > div > table > tbody > tr > td {

            width: 100% !important;

            display: block !important;

            padding-left: 0 !important;

        }

        

        table.form-address-table {

            max-width: inherit !important;

        }

        

        #input_13_cc_exp_month, #input_13_cc_exp_year {

            width : 90% !important;

        }

        

        #cid_13 > div > table > tbody > tr:nth-child(3) > td > span:nth-child(1) {

            width: 60% !important;

            

        }

        

        #input_13_cc_number, #input_13_cc_ccv  {

            width: 90% !important;

        }

        

        #cid_13 > div > table > tbody > tr:nth-child(3) > td > span:nth-child(2) {

            width: 38% !important;

        }

        

        #input_13_custom_1011_0 {

            width: 100% !important;

        }

    }

     

    Make sure to paste it at the top of your CSS area. 

    Let us know if that works.