susannanam
Member
hi all,
i have a list with one element called se3xj_shifts___shift1a, it is a dropdown field with the values 1,2 or 3. this element is defined as "Use as row class". for the list, i have also created a separate template with a custom_css.php. in there is the following code (the row shall have a specific colour, depending on the value selected in the dropdown field):
tr.1 {
background-color: green;
}
but i must be missing something as the line does not turn green if the value of that field is 1. at the same time, i would also like to define the size of the various columns in that list and change the font size. any hint is much appreciated, thanks.
i have a list with one element called se3xj_shifts___shift1a, it is a dropdown field with the values 1,2 or 3. this element is defined as "Use as row class". for the list, i have also created a separate template with a custom_css.php. in there is the following code (the row shall have a specific colour, depending on the value selected in the dropdown field):
tr.1 {
background-color: green;
}
but i must be missing something as the line does not turn green if the value of that field is 1. at the same time, i would also like to define the size of the various columns in that list and change the font size. any hint is much appreciated, thanks.