How to change width value for fields in Configurable List?

  • Profile Image
    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

  • Profile Image
    Kevin_G
    Answered on February 17, 2017 at 01: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:

    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. 

    This code needs to be injected in the widget:

    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. 

    Hope this helps.