Layout presets
Four extra layouts for either shortcode: carousel, masonry, overlay cards and a compact list.
Add layout="…" to [siteryn_product_grid] or [siteryn_product_list], or pick a Layout preset in the builder, the block or a page builder widget. Every other attribute still works.
| Value | Label | Builds on |
|---|---|---|
carousel | Carousel | Grid: one scrolling row, columns cards visible |
masonry | Masonry | Grid: cards of different heights packed in columns columns |
overlay | Overlay cards | Grid: details over a 3:4 image |
compact | Compact list | List: small 88px images and tighter rows |
Carousel
[siteryn_product_grid layout="carousel" limit="10" columns="4" title="Trending now"]
- "Trending now" with four cards visible and the next one peeking in
- Previous and next arrow buttons above the row on the right
- Sale badges (-21%) from Pro on the discounted products
- A horizontally scrolling row that works with touch, trackpad and keyboard even without JavaScript (the row can be focused with Tab).
- With JavaScript, previous and next buttons appear ("Previous products", "Next products") and are disabled at either end.
- The carousel is a labelled region (by your heading, or "Products").
Masonry
[siteryn_product_grid layout="masonry" limit="8" image_size="medium"]
- Four columns where each card keeps its own height, so longer names and buttons push the next card down
- Uses the medium image size; images with different proportions make the effect stronger
Masonry fills columns top to bottom. Use an image size that keeps the original proportions (for example medium or large) to get cards of different heights. Tablet and mobile column settings apply.
Overlay cards
[siteryn_product_grid layout="overlay" limit="4" category="party-dresses"]
- Tall 3:4 images with the rating, price and button on a dark gradient at the bottom of each image
- Sale badges at the top left
- On this demo theme the product names stay dark (the theme colors headings), which is hard to read on the gradient
The name, rating, price and button sit on a dark gradient over the image. Cards without an image fall back to the normal card.
Product names take your theme's heading color. If your theme gives headings a dark color, the names can be hard to read on the gradient; set
.siteryn-pgl--layout-overlay .siteryn-pgl-card__title { color: #fff; } in your theme's CSS or use title_tag="p".Compact list
[siteryn_product_list layout="compact" limit="5" orderby="popularity" order="DESC" title="Best sellers"]
- "Best sellers": five slim rows with an 88px image, name, rating, price and button
- Sale badges shown on the small images
Good for sidebars and "best sellers" blocks. Short descriptions stay on unless you set show_excerpt="no".