Hi !
i would like to know if it is possible to add a different css class for each top <li> elements of a wayfinder menu ?
that would be to give each top ressource a different background color through a custom TV.
thanks !
-
☆ A M B ☆
- 24,524 Posts
Probably best to use &rowIdPrefix=`whatever`. Then each item will be give an ID of "whatever1,", "whatever2", etc, and you can style the ones you want.
Another way might be to use the CSS nth-child or nth-of-type() pseudo-class.
http://www.w3schools.com/cssref/sel_nth-of-type.asp
works perfectly with rowIdPrefix !
thanks Sottwell !