Recently I was working on a project where we wanted to highlight the parent page link in the WordPress navigation when the user is on a child page.
At first, I wasn’t sure how to do this but I quickly discovered a CSS class that is added to wp_list_pages, which is frequently used for navigation, and by styling those classes the parent link can be highlighted when on a child page.