Skip to main content
Participant
June 29, 2016
Answered

How do I change background color of bootstrap container - not the fluid container ?

  • June 29, 2016
  • 1 reply
  • 20903 views

I would like to change the background color of  a container. I can change the color of a fluid container , however I only want to change the color in the container inside the fluid container.

Thanks Jon 32137

This topic has been closed for replies.
Correct answer osgood_

Whats the class name of the container within the fluid container?

Use some css in a seperate linked style sheet and make sure the css file comes after the link to the bootstrap.css file in the page code.

.class-name {

background-color: yellow;

}

1 reply

osgood_Correct answer
Legend
June 29, 2016

Whats the class name of the container within the fluid container?

Use some css in a seperate linked style sheet and make sure the css file comes after the link to the bootstrap.css file in the page code.

.class-name {

background-color: yellow;

}

jon32137Author
Participant
June 29, 2016

Thanks,

Jon 32137