R Robert9 Well-known member Jul 9, 2024 #1 I have a css in extra.css to show alternating colors for forums in forum list. What I have to do to have this in two versions for light/dark, please? CSS: .node--depth2 { background:green; } .node--depth2:nth-child(odd) { background:orange; }
I have a css in extra.css to show alternating colors for forums in forum list. What I have to do to have this in two versions for light/dark, please? CSS: .node--depth2 { background:green; } .node--depth2:nth-child(odd) { background:orange; }
O Old Nick Well-known member Jul 9, 2024 #2 Try this Less: .node--depth2 { background: green; .m-colorScheme({{ $xf.style.getAlternateStyleType() }}, { background: black; }); } Upvote 0 Downvote
Try this Less: .node--depth2 { background: green; .m-colorScheme({{ $xf.style.getAlternateStyleType() }}, { background: black; }); }