Parent current class

More
9 years 2 months ago #44584 by vokudings
Hello, we use a parent menu item like a headline for the submenu. If a child item is selected, its class is changing. Is it possible, that the class of its parent item is also changing, so that we can set a different style for its current status?

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #44593 by ced1870
Replied by ced1870 on topic Parent current class
Hi
each parent item gets the "active" class in the path to your current item
so you can use this css class
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #44595 by vokudings
Replied by vokudings on topic Parent current class
Oh I found the mistake in my module configuration. I had choose the wrong base item. Now I have my active class :)
Thank you!

Please Log in or Create an account to join the conversation.

Time to create page: 0.202 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 2171 guests and no members online