Site logo

Archived topic

Navigation "current menu"

7 replies · Started by takkularapsis on August 24, 2020

Viewing posts 1–8 of 8

Hi,

I have one page in my website that can be located in multiple locations in main navigation.
Problem is that when i go to that page, after that the navigation looks little bit funny because it shows every navigation point active what has this page in its navigation tree.

Hi there,

are you using the Page Scroll to ID plugin ?
Have you made sure that it is correctly set up ?

Im using, i put the plugin off now, but still the issue is there.

Can you disable your caching plugin so we can take a closer look at the code?

Hi,

Sure thing. It is now disabled.

The only thing i can think of is this CSS:

.main-navigation .main-nav ul li[class*="current-menu-"] + li[class*="current-menu-"]  > a {
    background-color: transparent;
}

What it will do is remove the Second menu items background color.

Hi,

Thank you for that. Ill try that or then i was thinking that maybe i could make new page with the same content that the same page wouldnt be at the navigation in multiple location.

Thank you!

Creating a separate link 'may' be a better option.

You're welcome

This archived topic is closed to new replies.