You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey. Thanks for Navwalker. It is a god send. So my issue:
With the release of the new Bootstrap 4, the dropdowns don't have an li class for current_page_item like on parent items. Is there any way to add an active class to a submenu item on click? I've messed around with some jQuery. The issue: If the page is refreshed, it loses the active class.
Again, thanks for making this available to everyone.
The text was updated successfully, but these errors were encountered:
Bootstrap provides CSS for .dropdown-item.active but not for .active .dropdown-item. The Walker sets the active class on the <li> instead of the <a> leading to .active .dropdown-item.
Hey. Thanks for Navwalker. It is a god send. So my issue:
With the release of the new Bootstrap 4, the dropdowns don't have an li class for current_page_item like on parent items. Is there any way to add an active class to a submenu item on click? I've messed around with some jQuery. The issue: If the page is refreshed, it loses the active class.
Again, thanks for making this available to everyone.
The text was updated successfully, but these errors were encountered: