Yes, the only thing that can override !important is another !important. On Mon, Oct 12, 2015 at 10:54 AM, Tom Livingston <[email protected]> wrote:
> That rule would then become *extremely* hard to over-ride should the > need arise. IIRC, even an inline style would get trumped by this rule. > > On Mon, Oct 12, 2015 at 9:08 AM, Theophan Dort <[email protected]> > wrote: > > Many thanks! > > > > I tried “.navbar a” and it didn’t work, but it worked when I added > "!important", so I figured there must be Bootstrap rules that are a lot > more specific so they’re being used. So I removed the “!important” and > tried “.navbar ul.navbar-nav li a” and that seemed to work for most of it, > and “.navbar a.navbar-brand” for the “Brand.” It looks like I have a lot > more selectors to find and use, but at least now I think I know how to > proceed. > > > > Would there be a disadvantage to just using the > > > > .navbar a { > > color:white !important; > > } > > though? Sure would be easy. > > > > Thanks again! > > > > Theophan > > > > > >> On Oct 12, 2015, at 8:43 AM, Ryan Reese <[email protected]> > wrote: > >> > >> You need to add the color:#FFF to your anchor rules. It's using #777 > from > >> your other styles. > >> > >> On Mon, Oct 12, 2015 at 8:19 AM, Theophan Dort <[email protected]> > >> wrote: > >> > >>> I’m trying to build a very small web site for my church’s capital > >>> campaign, using Bootstrap, and I can’t change the color of the font in > the > >>> header. I put a style in the <head> section that changes the > background > >>> color fine, but the same selector doesn’t change the font color: > >>> > >>> .navbar { > >>> background-color:#BB2F00; > >>> color:white; > >>> } > >>> > >>> I’m not very good navigating my way through the tools, but when I > tried to > >>> see, using Firefox Developer Edition, what was actually going on, it > really > >>> looked to me as though the rule that was being followed was indeed > that the > >>> color was FFF, but my eye says it’s still the gray that Bootstrap > specifies. > >>> > >>> Here’s the test page: http://raisingthecross.org/navColorTest.html > >>> > >>> Thanks! > >>> > >>> Theophan > >>> ______________________________________________________________________ > >>> css-discuss [[email protected]] > >>> http://www.css-discuss.org/mailman/listinfo/css-d > >>> List wiki/FAQ -- http://css-discuss.incutio.com/ > >>> List policies -- http://css-discuss.org/policies.html > >>> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > >> > >> > >> > >> > >> -- > >> Ryan Reese > >> ______________________________________________________________________ > >> css-discuss [[email protected]] > >> http://www.css-discuss.org/mailman/listinfo/css-d > >> List wiki/FAQ -- http://css-discuss.incutio.com/ > >> List policies -- http://css-discuss.org/policies.html > >> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > > > > ______________________________________________________________________ > > css-discuss [[email protected]] > > http://www.css-discuss.org/mailman/listinfo/css-d > > List wiki/FAQ -- http://css-discuss.incutio.com/ > > List policies -- http://css-discuss.org/policies.html > > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > > > > -- > > Tom Livingston | Senior Front End Developer | Media Logic | > ph: 518.456.3015x231 | fx: 518.456.4279 | medialogic.com > > > #663399 > -- Ryan Reese ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
