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

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

New Here ,
Jun 29, 2016 Jun 29, 2016

Copy link to clipboard

Copied

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

Views

20.6K

Translate

Translate

Report

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;

}

Votes

Translate

Translate
LEGEND ,
Jun 29, 2016 Jun 29, 2016

Copy link to clipboard

Copied

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;

}

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

Thanks,

Jon 32137

Votes

Translate

Translate

Report

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