Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Jun 29, 2016 Jun 29, 2016

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

TOPICS
How to
20.7K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jun 29, 2016 Jun 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;

}

Translate
LEGEND ,
Jun 29, 2016 Jun 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;

}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 29, 2016 Jun 29, 2016
LATEST

Thanks,

Jon 32137

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines