Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3.1k
-
Hi, Currently, the active class in the navigation menu is added automatically when the URL in the web browser matches the href value in the tag. However, now I have navigation items like these:
How can I change the behavior so that the active class is applied based on the full URL, including query parameters? Thank you! |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 3 comments
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
I found the solution. Put below code before the
Thanks. |
BetaWas this translation helpful?Give feedback.
All reactions
-
You can add |
BetaWas this translation helpful?Give feedback.
All reactions
-
Thanks@mrholek , I already add like this: Could you show me the documentation for that, because when I go tohttps://coreui.io/bootstrap/docs I could not find information about it? |
BetaWas this translation helpful?Give feedback.