-
-
Hi,
is there an easy way to keep a menu item active, if the user navigates to a sub-page?
Thanks!
-
Hello,
Set the page you want to keep being active as the sub-page’s parent in Page Attribute’s (screenshot).
Let us know.Best regards!
-
Hi,
Unfortunately this is not working.
Example:
Parent page: https://www.blattspiel.at/wordpress/angebote/
-> menu item “Angebote” is active
Child page: https://www.blattspiel.at/wordpress/angebote/waldpaedagogik/
-> menu item “Angebote” is not active anymore.
Thanks.
Kind regards,
Reinhold
-
Hello,
Please add this code into your custom css box:
.header_1 nav li.current-page-ancestor > a { color: #dd9933 !important; }
It will give the color to the parent page, when you are in it’s child page.
Kind regards!
-
-
Hi!
How can I keep the blog menu item active when displaying a post?
Thanks!
-
-
Hi,
Thanks for the feedback.
Kind regards,
Reinhold
-
Hello,
This is the structure of wordpress content structuring. Pages and posts are independent custom post types templates. You can sort out a parent-child dependency in pages, but it is not possible to do so with post-pages.
This is not a lack of theme rather than a rule of WordPress structure.Best regards!
-
You must be logged in to reply to this topic.