-
☆ A M B ☆
- 237 Posts
I started this in the wrong area I believe so I moved it here.
I was supplied code from a client that has the active state on the a instead of the li. Because of the styles, it really needs to stay on the li and not the a. I have no idea how to get Wayfinder to put the active state on the link instead of the li.
Does anyone know how to do this?
Would really appreciate some help.
Thanks!
[ed. note: mdsdesign last edited this post 14 years, 4 months ago.]
-
☆ A M B ☆
- 23 Posts
Hi,
In my experience, Wayfinder will do this by default. If it’s not, you might be using an alternative template for parentRowHereTpl or activeParentRowTpl.
Can you check to see if either of these things are defined in your Wayfinder call — then trace them back to the chunk defined.
-
☆ A M B ☆
- 237 Posts
Thanks microcipcip. Your logic helped me figure it out. It just took a few minutes to think it through.
Strange, Wayfinder by default should apply the "active" class to the "li" tag when &rowTpl parameter is not configured.