Skip to content

current_class_level problem #41

@tyssen

Description

@tyssen

I have a menu builder menu as follows:

- Home
- Services
-- Service 1
-- Service 2
- Blog

The service sub pages aren't actually child pages of Services in the PW tree but they're nested under Services in Menu Builder. Blog is a parent page of numerous child blog entries in the PW tree.

The actual PW tree looks like this:

Home
- Service 1
- Service 2
- Blog
-- Blog page 1
-- Blog page 2

I don't seem to be able to find a value for current_class_level which will show the current class for both Services and Blog when you're on a subpage of that section.

If I set it to 0, I get the class on Blog when you're on a child blog page, but not on Services when you click on one of the dropdown menu items. And if I set it to 2 or 3, it's the opposite, current class is on Services but not on Blog.

Is there any way I can do both?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions