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!
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

Davis Rousseau
6,670 PointsBackground image in chrome not working?
Not sure why but my background image only show in chrome only when I scroll the page.

Davis Rousseau
6,670 PointsWorks in both but in chrome it only loads when I scroll. When you first get to the page don't touch anything you'll see what I mean.
3 Answers

Hugo Paz
15,622 PointsHi Davis,
Try removing the z-index from your .overlay.
I just tried it on chrome and fixes the issue.

Davis Rousseau
6,670 PointsThanks but that's not working for me.

Davis Rousseau
6,670 PointsIt the negative z-index that's causing this.

Davis Rousseau
6,670 Pointsgot it to work
Garrett Sanderson
12,735 PointsGarrett Sanderson
12,735 PointsHi Davis, I am seeing the background image on both Chrome and Firefox