lori19
Active Member
Hi all!
Currently, I'm using a number of repeatable groups that can have quite a few repetitions. So I wanted to make them more easily distinguishable for the user. Fabriks offers tis feature for lists but not for repeatable groups (list or table layout). After trying different ideas I found a handy css selector. I'm using CSS for some years now but did not come across this one:
.fabrikSubGroup:nth-child(odd) {
background-color: #ccc;
}
will alternat the background colour of your subgroups/repeatable groups.
Hope somebody else finds this usefull.
Kindly,
Lorenz
Currently, I'm using a number of repeatable groups that can have quite a few repetitions. So I wanted to make them more easily distinguishable for the user. Fabriks offers tis feature for lists but not for repeatable groups (list or table layout). After trying different ideas I found a handy css selector. I'm using CSS for some years now but did not come across this one:
.fabrikSubGroup:nth-child(odd) {
background-color: #ccc;
}
will alternat the background colour of your subgroups/repeatable groups.
Hope somebody else finds this usefull.
Kindly,
Lorenz