I would like to know how can I replace (Just make a new .css, replacing an id/class) the css in some parts of bootstrap? I want to change the background-color for page-wrapper, by default is white.
Asked
Active
Viewed 1,491 times
0
-
Make your own css and use `body { backgroud-color: #123456; }`. – KIKO Software Dec 20 '17 at 20:49
-
possible duplicate: https://stackoverflow.com/questions/38792005/how-to-change-the-bootstrap-primary-color – Ibo Dec 20 '17 at 20:55
-
Possible duplicate of [How to change the bootstrap primary color?](https://stackoverflow.com/questions/38792005/how-to-change-the-bootstrap-primary-color) – Murat Gündeş Dec 20 '17 at 21:16
1 Answers
0
Make sure you are linking to your new /.css file underneath bootstraps css in your head.
then reference the class you would like to change styles on inside your new /.css file.
.page-wrapper {
background-color: pink;
}

TrevorMalloy
- 16
- 3
-
-
it will add a background color to every element with the class of .page-wrapper – TrevorMalloy Jan 25 '18 at 20:57