To target the active element in the navbar, your css should be this:
.navbar .nav > active > li {background-color:#whatever}. By default, the
active state of the nav is not blue.
On Monday, February 25, 2013 2:10:01 PM UTC, silko wrote:
>
> I am having same problem with background-color as does not show in blue
> when active link. Can anyone confirm if this is correct and we should not
> be using Nav styles in the navbar ? as the Nav takes priority in the CSS
>
> On Sunday, 24 February 2013 16:36:21 UTC, Surya wrote:
>>
>> For some reasons, I want to change the height of "so called
>> navbar"..since I am trying LESS lately, I tried
>>
>> @navbarHeight: 20px;
>>
>> However, this didn't work.. I think the above nav-pills aren't under
>> navbar..
>>
>> But when I put the above nav-pills under navbar,, I found something going
>> wrong..
>>
>> The dropdown symbol was a bit down.. not aligned with text..
>>
>> Sorry I can't profile a test code running now (my page is a bit complex)
>> -- will try to make it simple and post ..if possible..
>>
>> However, can you just say.. can we put "nav-pills" under "navbar"
>>
>
--
You received this message because you are subscribed to the Google Groups
"twitter-bootstrap" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.