- This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I was trying to keep the color of the current tab active(colored) in my page however its not happening by assigning a class to each li
because the current is tab in h5 tag.
I know how to keep the current pages tab active in the main navigation bar however its not happening here.
ebusinesssocial.com/dashboard/ (you would be required to login so here is the login info [email protected] 123456)
Left navigation.
Thanks for the reply Jurotek but the line doesn’t have a link. So ‘a’ will not work here.
the code is this
Have tried that already jurotek , didn’t work.
Probably I m making some mistake , can you please elaborate a little this is the code I have entered
#sidebar.viewport-content, #sidebar-inbox h5.active,{
background-color:#39F;
color:#aaa;
line-height:25px;
}
#sidebar.viewport-content, #sidebar-inbox h5.active:hover {
background-color:#39F;
color:#aaa;
line-height:25px;
}
and the html is this
I applied this css however its only making the first tab colored but not the rest in colum.(since I have applied the active class only in the first tab as I dont know what to do with it)
and if I apply the active call in all the tabs they become permanently blue.
):
That’s ok. I appreciate your effort that you put to solve this. Probably I’ll have to start a new discussion later because no one else is replying here.
Hi did you manage to figure this out? thanks