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

JavaScript jQuery Basics (2014) Creating a Simple Lightbox Perform: Part 2

Overlay background covers only half of the page

I am making a gallery while using large images. The image successfully shows its original size when clicked but i noticed that the overlay background only covers half of the screen. only up to the part where the image finishes vertically :( i followed the code and tutorial.. it looks like this https://drive.google.com/file/d/0B1S7e8-0MO-QYi1iUldtZ1hnb0E/view?usp=sharing

1 Answer

Bob McCarty
PLUS
Bob McCarty
Courses Plus Student 16,618 Points

Hannah,

Can you share your workspace, or provide your HTML and CSS?

Does the background-size attribute = cover?

body  {

background-size = cover;

}

Bob.