I’ve created the page “press” child of media page (parent).
when i’m on press page, the parent page (media) in menu doesn’t remain active.
1 comment
Comments are closed.
I’ve created the page “press” child of media page (parent).
when i’m on press page, the parent page (media) in menu doesn’t remain active.
Comments are closed.
If you are using a standard WordPress menu the parent li container should get the following classes “current-page-ancestor current-menu-ancestor current-menu-parent current-page-parent” when you are on the child page – so just make use of those in your CSS