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

Jeriah Bowers
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Jeriah Bowers
Front End Web Development Techdegree Graduate 20,590 Points

LightBox Plugin won't work

Ok, so I can't get my lightbox to work and idk why I've used it before flawlessly. I know I linked to everything correctly I have no errors in the console. I'm going to leave a snippet of code below that will show where I used the lightbox maybe I'm just overlooking something?? Any help is appreciated.

HTML

<a href="img/resume.png" data-lightbox="resume">Click here for resume</a>

1 Answer

Catherine Khvorost
Catherine Khvorost
7,446 Points

Which Plugin are you using?

If you're using a plugin, make sure you've correctly linked the plugins CSS stylesheet in the head, Jquery or Javascript file in the footer, and that they're spelled correctly and linking properly.

Make sure you're properly calling the plugin in your code. Plugins will often times have an example of how you're supposed to structure your code in order for them to work.