[Plone-UI] Re: navtree : changing the item background color depending on the level
Denis Miishunoff
denis.mishunoff at gmail.com
Fri Dec 8 08:07:04 UTC 2006
Félix Vanderstricht wrote:
> * intro (black)
> o first (red)
> + AAA (green)
> + bbb (green)
> + ccc (green)
> o second (red)
> o third (red)
> * blablabla (black)
This can be achieved by simple CSS. Navtree in PLone has the different
classes for different levels: navTreeLevel0, navTreeLevel1 and so on.
So, you can try to play with them like:
.navTreeLevel0 a {color: Black}
.navTreeLevel1 a {color: Red}
.navTreeLevel2 a {color: Green}
Hope this will help.
--
Best regards,
Denis Mishunoff
PLONE Design-Skinning-Development
mailto:denis.mishunoff at gmail.com
IRC: spliter(#plone)
More information about the UI
mailing list