Site logo

Archived topic

Primary Navigation Current Page Highlighting

16 replies · Started by Conor on October 27, 2019

Viewing posts 16–17 of 17

Hi Tom,

I swapped this:

.main-navigation ul li.current-menu-item .menu-label {
background-color: #0F74B5;
}

out for your css, and there was a mild improvement.

When I click on a parent item, everything is still turning blue in the dropdown menu.

When I click an item in the dropdown menu, everything is also still turning blue, but at least now the parent item is not disappearing.

So we still have something to fix.

Cheers,
C

Let's try this instead:

.main-navigation ul li[class*="current-menu-"] > a > .menu-label {
    background-color: blue;
}
This archived topic is closed to new replies.