Peregrinedocs

Blocks & Card Styles

Peregrine is built on Shopify's theme-block architecture — the same modern foundation as Shopify's newest themes. Content is composed from a small library of reusable blocks, so the same controls work the same way everywhere.

The block library

Seven core blocks power the theme. Wherever you can add blocks, these behave identically:

Sections like testimonials, multicolumn, promo tiles and the slideshow use purpose-built blocks (testimonial card, column, tile, slide) so repeated items stay consistent with minimal per-item setup. The Custom section is an open canvas: add any library blocks and compose freely.

Desktop and mobile controls

Peregrine's design controls come in pairs: a desktop value and a mobile value. Alignment, column counts, padding and spacing can all differ per device — centre a heading on mobile while keeping it left on desktop, or show two columns on phones and five on desktop. Look for the (desktop) / (mobile) suffix on settings.

The same philosophy applies to imagery: every image picker in the theme's sections offers a paired mobile image, so you can art-direct phones separately instead of serving a cropped desktop shot.

Card styles

Every grid of results in the theme shares one Card style control group — the collection page, the collections list page, collection list, featured collection, product recommendations, the blog index and blog posts, plus promo tiles. Learn it once and it works the same everywhere:

Adding a border or shadow automatically turns each result into a padded, rounded card that lifts off the page. With both off, the layout stays completely flat. On every grid section the card style applies to the whole grid; on promo tiles it is set per tile, so one tile can be lifted out of a flat row to draw the eye.

Tip: a Soft shadow on a white card over a white section is the quickest way to add depth without changing your colour scheme.

Image shape

Collection list and featured collection include an Image shape setting — Square, Landscape (4:3), Portrait (4:5) or Natural. The first three give every card a uniform shape for a tidy grid; Natural shows each image at its own proportions, so card heights follow the source images.

Where a shape is set, Image fit decides what happens to an image whose proportions don't match it:

ContainThe whole image is visible. Space is left either side.
CoverThe image fills the card. The dashed bands are cropped away.

Contain is the default, because it never hides part of a product. Choose Cover when a perfectly even grid matters more than seeing every image whole — and check your tallest and widest images afterwards, since those are the ones that lose the most.

Result alignment

Grid sections have Results alignment, a desktop/mobile pair deciding where a partial row of cards sits — three items under five columns can sit Left, Center or Right.

Aligning the text inside a product card is a different thing and is set once for the whole store, in Theme settings → Typography → Product cards, along with the title size. The Collection list section keeps its own Result text alignment, because it shows collection tiles rather than product cards.