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

HTML Prototyping with Foundation for Apps Grid Layout and UI Components Modals and Action Sheets

Action sheet displays behind the map

When in a large window the left side of the action sheet the overlaps with the map is displayed behind the map content. How can you get the action sheet to be the front-most content?

Garrett Sanderson
Garrett Sanderson
12,735 Points

You can use z-index to position div's ontop of one another. The higher the index # the closer it is to your face on the screen.

See more here. http://www.w3schools.com/cssref/pr_pos_z-index.asp

1 Answer

Julian Aramburu
Julian Aramburu
11,368 Points

Hi! I haven't seen these particularly videos but you can change order by placing it first or as Garrett pointed out, you can use z-index to change the order things get displayed in the browser.

Cheers!