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

In a photo gallery, if I have many images of different size, how do I align them the way I want?

I have images of different size in a photo gallery, how do I allign them. I am still not able to create one since I can't find that option under pages, but I didn't see that video too on TeamTreeHouse. Asked another question for it.

1 Answer

Sue Dough
Sue Dough
35,800 Points

You need to align them with CSS. The images can be different sizes in your media library but the same size on a page with CSS. Check out this http://codepen.io/anon/pen/VYEEVG . If your still having trouble, then learn more about CSS or find a theme to do what you need.

Sue Dough
Sue Dough
35,800 Points

That is 1 CSS example. There is countless ways.