Stacked Gallery piles your images on top of each other and moves the top card to the back, one at a time. It can play on its own, or visitors can click, swipe or use arrows. Use images from the media library, a dynamic gallery field, or a post and product query.
The first stack uses images from the media library. The second is a product query that uses a global block for each card. Both also play on their own.






Pick a source, set the size and choose how it moves.
Add images to the gallery, connect a dynamic gallery field, or switch Source to Query and pick a global block for the cards.
Set the card width and height for each breakpoint, and the stacking offset and scale.
Turn on autoplay, pause on hover, swipe, click to advance or arrows.
A compact gallery that takes up the space of one image.
Add images from the media library, or use a dynamic gallery field.
Switch to Query and design each card with a global block, using the Breakdance query builder.
Move to the next card every few seconds, with an optional pause on hover.
Swipe on touch screens or drag with the mouse to go forwards or back.
Click the top card to send it to the back of the stack.
Show arrows at the sides, above or below the stack, and style them.
Set the X and Y offset between cards and how much each card scales down.
Tilt the whole gallery from 0 to 360 degrees.
Set a different card width and height for each breakpoint.
Anywhere you want to show several images in a small space.
Stack your newest or featured products with the query source.
Show a handful of projects in one compact block.
Design a testimonial card as a global block and stack them.
Add a moving stack of photos beside a headline.
Show photos of a property from a gallery field.
Cycle through team members in a small space.
This is the full list of settings in the Breakdance editor, with their default values.
| Control | What it does | Default |
|---|---|---|
| Content | ||
| Source | Images or Query (Posts). | Images |
| Images | The gallery images. Accepts a dynamic gallery. | — |
| Card Template (Global Block) | The global block used for each card. Query only. | — |
| Query | Breakdance query builder. Query only. | — |
| Settings | ||
| Autoplay | Move to the next card automatically. | On |
| Interval (seconds) | Time between cards, 1 to 20. | 4 |
| Pause on Hover | Stop autoplay while the pointer is over the gallery. | Off |
| Enable Swipe | Swipe or drag to change card. | On |
| Click to Advance | Click the top card to move it to the back. | On |
| Show Arrows | Show previous and next arrows. | Off |
| Design | ||
| Width | Card width. Responsive. | 400px (300px on phones) |
| Height | Card height. Responsive. | 500px (300px on phones) |
| Rotate | Rotate the gallery, 0 to 360 degrees. | — |
| Card Styling | ||
| Card Borders | Borders, radius and shadow for every card. | 20px radius |
| Top Card Border | Separate border and shadow for the top card. | — |
| Card Background | Card background colour. Query only. | — |
| Stacking Effect | ||
| Offset X / Offset Y | How far each card is shifted from the one above. | — |
| Scale Down Per Card | How much smaller each card is, 0 to 0.3. | — |
| Arrows | ||
| Arrow Color / Background / Size | Arrow styling. | White on 50% black, 40px |
| Position | Sides, below the stack or above the stack. | Below Stack |
| Spacing and offsets | Space above and below, and horizontal and vertical offsets for side arrows. | — |
| Arrow Borders | Arrow border and radius. | — |
Yes. The Images control accepts a dynamic gallery, so you can connect a gallery field from ACF or a similar plugin.
Yes. Set Source to Query, choose a global block for the card design, and set up the query. The second demo on this page shows products.
At least two. The stack only animates when there are two or more cards.
Yes. Swiping or dragging to the right, or the left arrow, brings the previous card back to the top.
Yes. Swipe is on by default, and width and height can be set per breakpoint.
Stacked Gallery is included with Phox Elements, along with 150+ other premium elements for Breakdance.