Kunena Menu
Styling for parent link in vertical menu
Please Log in or Create an account to join the conversation.
you can't do that using maximenu params then because it uses the "active" class that is applied to the entire path until the current item
If you want to do that, you must use your own css and only the class "current", and not "active". The current class is only applied to 1 item and not to the parents
Hi again,
I'm not clear about your recommendation. Do you mean I can't use the Params plugin at all for that menu because it uses "active" rather than "current?" I can add my own CSS but if it has to be completely instead of Params then I'll have to uninstall it altogether or else not use MaximenuCK for that menu, neither of which I want to do. Can you please clarify?
Thanks.
Please Log in or Create an account to join the conversation.
this is not the behavior of the styles generated by the menuWhat I want is for the parent to show as active only when you're viewing that page, but not when you're just viewing one of its children.
if you use the active state styles from maximenu params, it will apply to the whole path
is it clear ?
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
ced1870 wrote: you said
this is not the behavior of the styles generated by the menuWhat I want is for the parent to show as active only when you're viewing that page, but not when you're just viewing one of its children.
if you use the active state styles from maximenu params, it will apply to the whole path
is it clear ?
I appreciate your help and I'm sorry to keep asking you about this, but I'm still kind of stuck. The problem is that I don't see any use of "current" in the code generated for the menu, so I can't use that as a hook for my own CSS. I've tried removing all custom styling for the Active states, and I tried switching between the "Custom styles" and "Idem as hover styles," but the only indicator of the current page is "active." From what you said, it sounded like there was a way to do this. How do I get it to use "current" for the current page?
Many thanks.
Please Log in or Create an account to join the conversation.
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.



