I’m using a custom menu and I have sub-nav items. I want the current page to be a different color when I am on that page, so I’m using .current_page_item a. Problem is it’s applied to any sub-nav pages as well when a page is selected. I want it to apply to the page only, how can I do this?
I believe, although not 100% sure without looking at the css itself, but you might want to take a look at this link so that you’re only targeting the exact element you want and not all the sub-nav pages. If you have a link that would be helpful also, but hope this link helps get you started in the meantime.