Main page active in menu when visiting a sub page

Hi There!

This is probably really simple but can’t figure out how to do it.
I want to have my main page activated in the menu when I’m visiting a sub-page.

This it what the menu items look like right now (“contact” is activated, “documentatie” is inactive)

Here I’m navigating to a sub-page of "documentatie, called “publicaties”

This is what the menu looks like when the “publicaties” page is activated right now

And this is what I want it to look like when the sub-page “publicaties” is activated

Could you please help me out? :slight_smile:

Hi there,

Thank you for reaching out to us. To achieve this just add the following code in the Theme Options > CSS:

.current-menu-parent > a > span {
    box-shadow: 0 2px 0 0 #95d3e0;
    color: #95d3e0;
}

Don’t forget to clear all caches including your browser’s cache after adding the code. Let us know how this goes!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.