My previous thread is a bit convoluted due to my ramblings. I heavily thank @AlenAbdula and @TheDoc for their wonderful help though. With @AlenAbdula‘s suggestion, I added theme support for menus in Starkers v4.0 and then I promptly placed my menu in my header.php file. To see a current version of my code, visit this CodePen. You will notice something though if you look at the code closely. “Shop” should be highlighted, because it is the only page with a class of current-menu-item and I specifically call out that class in my CSS with this:
This should highlight “Shop” in particular. Or any page that has that class. So, my question is, how do I fix it? @AlenAbdula has a working CodePen, here, using the same method. What am I doing wrong? Thank you in advance!
This reply has been reported for inappropriate content.
Okay, one more question about current navigational highlighting and then my menu will be finished! I created a fork of my original CodePen, this time with Leaflet highlighted (you have to scroll over Projects to see it in the sub-menu). So, my question is: how do I highlight Projects when one of the child pages is selected? I want people to know that they are looking at Leaflet, which is within Projects. Same thing goes for Feel Good Candy. Thank you in advance!
Edit #1: I really just do not know what to target. I figure there is some way to target the parent of an ul chain, but I am not sure. Thanks again!