Colors record alternately .Change Coloured Cells Depending on Value.

buc

New Member
I put in the class cell fabrik element
class = "Signed" class = "signature" class = "processing"
in custom_css.php
.processing .richiesta___stato
{
background-color: red;
color: black;
}
.signature . richiesta___stato
{
background-color: yellow;
color: black;
}
.signed . richiesta___stato
{
background-color: green;
color: black;
}
the process works fine but I do not understand why colors record alternately.
see attached photo
please help me I'm going crazy what should I change?
thanks
 

Attachments

  • ima.gif
    ima.gif
    47.7 KB · Views: 239
I presume there isn't really a space after the dot in those class names in your custom CSS?

Can you provide a URL to the list.

-- hugh
 
class = "Signed" class = "signature" class = "processing"
in custom_css.php
.processing .richiesta___stato
{
background-color: red;
color: black;
}
.signature .richiesta___stato
{
background-color: yellow;
color: black;
}
.signed . richiesta___stato
{
background-color: green;
color: black;
Thanks for the answer, I can not provide a URL because it is an intranet, however, I confirm that there is space in css. Help please
 
It's probably because you are using the (bootstrap default) 'Striped' option for the list - which alternates the background color in each row and overrides your css.

Either set the 'Striped' layout option for the list to No or try adding !important to your css.
 
Thanks for the answer, in fact, use use the default bootstrap, where can I find the September Either 'Striped' layout option for the list to No? or adding or try?

thanks
 
thank you so much I set "Striped 'layout option for the list to No" as you said, and it works great.

thanks
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top