I am implementing this Start Bootstrap SB Admin theme, which has a main nav, and a submenu nav.
it's not displayed active class background color and dashboard is always activated How to fix this issue, please help me to fix it?
look switched the User not display active back ground 
This is my code sample look at my code
Thanks
2 Answers
Answers 1
Finally i fixed a my problem, i found some solution im added each page for active class and im showed Collapsible List using collapse show
now it's working for me
<ul class="sidenav-second-level collapse show " id="collapseUsers"> <li class="active"> <a href="userlist.html">Users List</a> </li></ul> Answers 2
The li element that contains the dashboard link has 2 classes: nav-item and active.
You can choose only 1 active sidebar item. Look for the sidebar item you want to change, and edit the parent li element's class from class="nav-item" to class="nav-item active"
Make sure you only have one sidebar link with the active class
Hope this helped.

0 comments:
Post a Comment