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

    List box width too big when viewing on mobile

    Asked by betwrestling on March 29, 2017 at 03:08 AM

    I have a drop down list box on my form which looks fine when viewing my website on computer however the width is far too big when viewing on mobile. 

    I have tried using the following code under the @media screen codes however it doesn't seem to be any smaller.

        #input_171 {

            width : 50px;

        }

    What am i doing wrong and can this list box width be made smaller for when viewing on mobile devices?

    My webpage the form is on is http://www.predictwrestling.com/abcd

     

    Page URL:
    https://form.jotform.co/70773161313854

  • Profile Image
    JotForm Support

    Answered by seth on March 29, 2017 at 04:38 AM

    Hello,

    Your CSS code is correct, but there are statements that overrides your code. Please add !important at the end of your form. Your code should be:

      

    #input_171 {

            width : 50px !impoartant;

     }

     

    I hope this answer helps. Please don't hesitate to contact us for your further queries.

     

    All the best!