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

Garrosh HellScream
Garrosh HellScream
7,503 Points

How do get an image to fit into a jumbotron exactly the way I want it to?

I have a large monitor and at full width, I can only see the top portion of the image. I can only see the main focal point of the image at a viewport size of 400 which is for small screens. Ive played with the various background-sizes and nothing works.

1 Answer

If you want full control of the image, then you have to prepare your image for different screen sizes. Then use media queries to change the background-image based on screen size.