Wayfinder does this for you if you insert &hereClass= `` into your Wayfinder call.
Like this:
[[!Wayfinder?
&startId=`0`
&outerClass=`outer`
&innerClass=`inner`
&outerTpl=`menuOuter`
&rowTpl=`menuRow`
&innerTpl=`menuInner`
&innerRowTpl=`menuInnerRow`
&hereClass=`current_page_item`
&firstClass=``
&lastClass =`` ]]
In your css, then define the class stylings under whatever class you choose (example defines .current_page_item - you can call it whatever you like).
Check out Mary's tutorials here for Evolution -
http://modxvideotutorials.com/modx-evolution/
I am curious why you're using Evolution instead of Revolution if you're new to MODX. While many people still love Evolution, Revolution is all kinds of things Evolution isn't. Media Sources in and of itself is the best reason to use Revolution at this point IMO.
EDIT: I think the above code is Revolution specific. Revolution uses these brackets:
while Evolution uses these:
. You'll want to make a note of that. Sorry, I just pasted what I'm working with at the moment which just happens to be Wayfinder and Revolution.
[ed. note: frogabog last edited this post 14 years, 9 months ago.]