Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS Bootstrap Basics Using Bootstrap Components Using Jumbotron to Showcase Key Content

Peter Retvari
Peter Retvari
2,566 Points

I just would like to ask about how flexible is Bootstrap4. What if I wanna change the NavBar background color?

I just would like to ask about how flexible is Bootstrap4. What if I wanna change the NavBar background color or the Jumbotron b.color? Can I use CCS colors, RGB colors or Hex values to make it more closer to my desired one?

2 Answers

Lee Vaughn
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree seal-36
Lee Vaughn
Treehouse Teacher

You can still do it. Using Bootstrap doesn't prevent you from styling elements the way you want in CSS.

Peter Retvari
Peter Retvari
2,566 Points

Many thanks for your quick answer :)

Hi Peter you can change it with bootstrap's color classes or in your own stylesheet you can specify any color you want

Peter Retvari
Peter Retvari
2,566 Points

Thanks for your help :) I know that I can add more CSS classes, but how can I change the color to the exact color I want in BS4? I couldn't find here: https://getbootstrap.com/docs/4.0/utilities/colors/