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

    How to reduce the width of a dropdown menu only on Desktop?

    Asked by buymorefans on March 09, 2017 at 12:20 AM

    How to reduce the width of a dropdown menu only on Desktop?

     

    The product drop down menu is too large on this form

     

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

     

     

    on this page

    https://mercadodefans.com/comprar-seguidores-twitter-pago#rZdrLaZo

     

     

     

    There is already custom CSS for mobile only so I was wondering how to make the dropdown less wide but only on desktop?

     

     

    Thanks for your help!

     

     

    -Marc

    Page URL:
    https://mercadodefans.com/comprar-seguidores-twitter-pago#rZdrLaZo

  • Profile Image
    JotForm Support

    Answered by ashwin_d on March 09, 2017 at 01:48 AM

    Hello Marc,

    Please inject the following custom css code in your form and that should solve your problem:

    ul.form-section.page-section {

        width: 70%;

    }

    select#input_13_custom_1013_0 {

        width: 70% !important;

    }

    The following guide should help you how to inject custom css code in form:  https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!