Hi everyone,
A common problem but I can't seem to see a solution.
A new design for one of our sites has been delivered with a 'has-children' class on menu items that have children.
I tried putting in a show-if area with condition 'has_children'. I put the area outside of the menu_normal area and set to print no, then printed it within the menu_normal.
But its acting on the page that you are viewing, not the page being output in the menu. So if you are viewing a page with children, all pages in the menu show 'has-children'.
I also tried putting the show if within the menu_normal area, but Matrix didn't like that.
So, how can I get my menu items to show whether they have children or not? This must come up all the time, and re-coding all the js and css that has been paid for to a third-party design company is really not a good option for us.
Thanks for any advice! Charlie