I would like to have different backgound colors for even and odd rows
I don’t remember how to do , either when i use the standard editor, either when i use Avia
Look at http://parolesetmusique-lyon.org/index.php/qui-sont-ils/
Best regards
Joseph
well try to do the following – and definitly play with background-color :lol:
.main_color tr:nth-child(2n) {
background: #e24020 !important;
}
.main_color tr:nth-child(2n+1) {
background: #9c899c !important;
}
Hi!
Please do let us know if that works out for you, or you do need more help for our side.
@Guenni007 once again, thanks a lot!
Regards,
Basilis
It works
Howevef i thought there was another simpler solution with the possibility of changing the colors of one given table and not of all the tables
Anyway, il will use this solution
Thanks to you and gueni007
Joseph
Hi!
You can turn on custom CSS field for ALB elements – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and then give your table a custom class and then use the code as following
.your-custom-class tr:nth-child(2n) {
background: #e24020 !important;
}
.your-custom-class tr:nth-child(2n+1) {
background: #9c899c !important;
}
Cheers!
Yigit