Change width of column in configurable list

  • Profile Image
    ARWFashion
    Asked on March 21, 2017 at 07:05 AM

    Hi,

    It seems not possible to change the width of a column in the configurable list. (type = number)

    I tried to change it in the CSS, but it doesn't work!

    Can you please help me?

  • Profile Image
    Kevin_G
    Answered on March 21, 2017 at 10:51 AM

    This seems to be due to the fact that there's already another piece of code affecting the field's width, to override that code you could add  "!important" to the code you injected, example:

    td.col4 input {

        width: 93px !important;

    }

    Do note that "col4" will change based on the column number where the field is placed in. Also, the code needs to be injected in the widgets area: 

    Hope this helps.