I’m using twitter bootstrap and I wanna set my page background-color to #f8f8f9. But I think the twitter bootstrap default white background is getting in the way.
I read and tried the methods in these as well:
How to change twitter bootstrap background color
How to change the default background color white to something else in twitter boostrap
assign background color in twitter bootstrap 3
I tried
body{ background-color: #f8f8f9 !important};
in an external CSS file and inline as well. But none worked.
Any idea how to overcome this problem?
Thanks in advance!
2
Answers
Use Less. In there, it’s just a color variable that needs to be changed. Then, compile it again and your new background color should apply.
If you are not sure where to begin, this generator should help you: http://bootstrap-live-customizer.com
your Code work well,color with Hex ID
#f8f8f9
is what you see after run code.I offer try this code and see work or not?
if work well so your code is ok, else find css rule that overlap this rule.