How to change width value for fields in Configurable List?

  • tdirofftrenton
    Asked on February 17, 2017 at 11:24 AM

    Hi

    I am really sorry to bother you but I can not solve this problem even after reading all of you wonderful FAQ's (nice job)

     

    I am using a configurable list and would like to change the field width of one field (for now) and for the life of me I can't get the CSS to do anything. 

    My form is here

    https://form.jotform.com/70474007335148

    and I would like to change the description field please

  • Kevin Support Team Lead
    Replied on February 17, 2017 at 1:18 PM

    You could change the fields width by injecting a code similar to this one: 

    /* For input fields */

    .col1 input{

        width: 100px !important; 

    }

    /* For select boxes or drop downs */

    .col3 select{

        width: 70px !important;

    }

    You may also get the field type by right clicking on it and clicking on inspect option:

    How to change width value for fields in Configurable List?  Image 1 Screenshot 50

    Now, if you need to affect an specific field then you need to state where it is placed in, you will do it with the class ".col", example: ".col1", ".col2" and so on. 

    How to change width value for fields in Configurable List?  Image 2 Screenshot 61

    This code needs to be injected in the widget:

    How to change width value for fields in Configurable List?  Image 3 Screenshot 72

    Also, may be that some fields at the right side of the widget look cut off, you would need to increase the widget's width value as well and you could do it with this code: 

    iframe[src*="configurableList"]{

        width: 660px !important;

    }

    This needs to be injected to the form and not to the widget. 

    How to change width value for fields in Configurable List?  Image 4 Screenshot 83

    Hope this helps.