I have a navigation menu with parent links on the first row, and child links on the second row below it.
I would like to have the link color change when you are on that specific page. I was able to make most of that work, except, when you are in a child page right now, the color of the parent link goes back to the default color rather than staying in the “you’re on this page” color.
This is strange because I have also set up the background color to change in addition to the link color, and that seems to stay when the link color falls back to default whenever you are on the child page.
Below is my current working code of css. Thanks so much in advance!