Streaming live at 10am (PST)

Navbar with dropdown to underline the current page?

We have a navbar with 3 items and we want to underline the current page. This works fine for normal subpages under our home page.

One of the menu items is a dropdown pointing to 3 pages and we want to also underline the dropdown in the navbar when any of these 3 pages are current.

I did a search and found some old solutions requiring a custom page script. I was unable to get that to work and was wondering if a new solution is available in WebFlow to indicate a subpage of the dropdown is active?

UPDATE: this answer worked for me too now: Current class on the actual dropdown toggle - revisited

But I wonder why WebFlow doesn’t have an easier way to do something as common as this?