How to change bootstrap navigation bar colors?
This question already has an answer here:
One approach would be to download the bootstrap file if you are using a cdn link and install it in your app directory wherever you would put assets. Then you can find what you are looking for in the bootstrap file and alter it there (you can use a text editor like sublime to find the file and line). Disclaimer do not reuse the same altered file for other projects.
Although not usually recommended you can try and use:
background-color: #00578d !important;
The !important rule is a way to make your CSS cascade but also have the rules you feel are most crucial always be applied. A rule that has the !important property will always be applied no matter where that rule appears in the CSS document
链接地址: http://www.djcxy.com/p/89430.html上一篇: 为什么我的导航栏链接的颜色不会改变
下一篇: 如何更改引导程序导航栏的颜色?