Link to home
Start Free TrialLog in
Avatar of chokka
chokkaFlag for United States of America

asked on

Changing body background color in Bootstrap.css

I am working on Twitter Bootstrap
In my bootstrap.css, by default i have body background color as white.  I want to change the back ground color to some thing similar to this site
http://return-true.com  background color. ( i am not copying any website, just looking around the color background ). How to change the body background color which is similar to that site in bootsrap.css

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #333333;
  background-color: #ffffff;
}

Open in new window

Avatar of John Easton
John Easton
Flag of United Kingdom of Great Britain and Northern Ireland image

The site you have given us a link to actually has a background image - it is not a solid color.

If you want to change the color you just need to change the line "background-color: #ffffff;" and replace the "#ffffff" bit with the color you want.

Have a look at http://www.w3schools.com/tags/ref_colorpicker.asp if you need some help choosing a color.

If you want a background image then you need to add a 'background-image' line to the CSS code.
Avatar of chokka

ASKER

what do you mean by solid color ? I wish to have the similar color pattern and how to achieve that
ASKER CERTIFIED SOLUTION
Avatar of John Easton
John Easton
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of chokka

ASKER

Thank you for clarifying my query. So that background is an Image. Okay, thank you!!
Avatar of chokka

ASKER

Thank you