I will look into it. It will have to be an option, because not in all cases would I want my currently "opened" menu categories to close just because I click another item that doesn't have child pages.Kat wrote:Another addition for next release Karl, as you said that you will look into here https://forum.photo.gallery/viewtopic.php?f=53&t=9152 :
I wrote on my wishlist :
- sidebar menu with subfolders : i wish that the dropdown close when clicking to another page where there is no child-pages like "contact".
You were thinking of styling for .child-active? You can't fix the above through custom CSS, as it would be controlled by javascript.Kat wrote:Or maybe you can help me with custom css in the meantime ?
You are right ... Almost. As you point out, the style is already added, and I also remember why it's set at low opacity. One thing is to have a strong emphasis on the menu-item for the current ACTIVE page, but it's another thing to place equally strong emphasis on menu-items for parent pages (could be multiple levels of parent pages) of current page. The menu can easily seem uncluttered if there are multiple emphasis (backgrounds) on different menu items, making it counter-productive. In your case, that would not apply of course, but we can't really implement different levels of style for child-active menu items depending on if child pages are hidden or not.Kat wrote:As i was inspecting deeper X3 stylesheet, should it be this little error why the active state is almost invisible ?
just correcting on your side rgba(0,0,0,0.05) to (0,0,0,0.3) would be ok and match the layout.
Add the fact that there are multiple skins. For example, the default skin's child-active class already looks like this with rgba(0,0,0,0.05):
Changing to rgba(0,0,0,0.3) would look like this:
These minor adjustments would have to be applied on a per-skin basis, with all conditions taken into consideration. We will be overhauling skins at some point, but for now, I think you would have to use custom styling for .child-active {}.