-
- 46 Posts
I have a basic wayfinder call in my template and it’s outputting a plain list of every document.
Now I wish to style the list. How do I get wayfinder to output different selectors applied to li’s depending on their level in the hierarchy?
Take a quick perusal through the snippet parameters and documentation for wayfinder and you should find a parameter called &level or something similar... ping back if you need further assistance. (There should be a corresponding placeholder, or maybe it’s JUST a placeholder... don’t recall off the top of my head.)
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me