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 trialJames Hsu
9,280 PointsHow versatile are layer comps?
Looks like Allison points out a pretty good solution for the different views of her website using layer comps, and using the toggle visibility option, but it seems like this would totally break in any page that was longer in vertical dimensions.
Anyone have an alternative solution, or found a fix using layer comps for this use case?
1 Answer
sarahbruchman
6,347 PointsHi James, I use layer comps fairly often at work, but more for one page view at a time (for example an index page) as I often have revisions. I have run across revisions forcing a change in page length, when that happens I usually expand the page to fit the longest version and just make sure there is something that denotes a footer in the other versions. This works fine for wire framing, however would look messy if you were to do something like present to a client.
James Hsu
9,280 PointsJames Hsu
9,280 PointsSweet, thanks for the response sarahbruchman.