Reputation: 379
I am trying to change the color of the text in active
class in the bootstrap framework.
.active{
color:#720B87;
}
but it is taking the default one.
Upvotes: 3
Views: 14233
Reputation: 362780
Assuming you're talking about a navbar .active
link, and are using the latest Bootstrap 3, it would be..
.navbar-nav>.active>a, .navbar-nav>.active>a:hover, .navbar-nav>.active>a:focus {
color:#720B87;
}
For 2.x (if you're not using .navbar-inverse
)..
.navbar .nav>li>a {
color:#720B87;
}
Upvotes: 6