The colours for the primary nav menu can be set in the customiser, including different background and text colours for ‘current’.
We have the primary nav menu set up as a list of the categories on the site. So, whenever you are reading a post the category that the post is in is changed to the ‘current’ colours. So far, so very very good.
Now I have hit a problem since we recently have a couple of posts that are in more than one category, the menu (completely logically) marks both of the categories as current and it looks really strange.
How can I make it so that only one of the categories is marked as current in the menu?
The SEO plugin that we use (SEO Framework) lets us choose one category as ‘primary’ but that doesn’t make any difference.
I’d like to be able to have the primary category as the one nav highlighted, when I have time I might take a look at the SEO plugin and see if I can find a way to assign a css class to the primary category, but for now this is a perfect solution!