Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
It could be overridden by somewhere else in your stylesheet, or the CSS selectors could be mismatching.
How can I find the correct CSS selectors. I’ve tried everything. Seems to work fine for the main navigation but fails to affect the sub menu.
Here’s main navigation code
#header ul.nav .current_page_item a,
#header ul.nav .current-cat a,
#header ul.nav .current-menu-item a,
#header ul.menu .current_page_item a,
#header ul.menu .current-cat a,
#header ul.menu .current-menu-item a {
color: #165B94;
}
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Are you using a browser inspector tool like Firebug, or Chrome’s Inspect Element tool?
If so, double-check the class names on the sub-menu selected items to find whether you’re misspelling the selectors.
Well that wasn’t easy but I got it! Thanks Andrew! I learned a lot in the process.