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

WordPress

Need help with WordPress Gallery

Need help with WordPress Gallery

I'm working a WordPress theme. I started building it from scratch using undercores. And I've created a CSS grid that I've have applied to the markup/PHP files with the "col-X" class selector.

All well and good, it works.

But now I've come to the gallery or media and I can't find out what file and where to edit? On the WP Codex I can see references to attachment.php, but it isn't included. And the documentation isn't that good. If I inspect the page with the dev tools, the styling that effect the gallery is inline.

I just want to find out where to apply "col-X" class selector.

I'm confused.

Can anyone help out, a link to some good documentation or site.

Thanks.