I’m having trouble targeting the menu item for single posts and archive pages so I can highlight it via css — you know, to show the user they’re still in the blog section when they’re on a single post or archive page.
For example, I’d like to highlight the School News menu item in the topstrip nav on single post pages like http://besanthill.wpengine.com/category/news/admissions/ and archive pages like http://besanthill.wpengine.com/category/news/alumni/ (hosted on WPengine)
Do you have some css for that?
Thanks!
Hey sky19er,
Try adding this code in Quick CSS (located in Enfold > General Styling):
.single-post #avia2-menu .menu-item-1580 > a,
.archive.category #avia2-menu .menu-item-1580 > a {
color: #6786a1;
}
Hope this helps.
Best regards,
Nikko
Ahah — interesting! Targeting the specific menu item. OK, works for me — thanks!