Design templates & live preview

Six ready-made looks, a full-screen preview at desktop, tablet and phone sizes, and a live preview of unsaved design changes.

Templates (Pro)

Design → Templates offers six ready-made looks. Each sets the layout, cards, category style, case window and colours together:

TemplateLayout and cardsCategoriesCase window
ClinicalAn even grid with side-by-side photosImage category cardsDefault
ModernMasonry cards that wipe from before to afterCompact buttonsDrawer
LuxuryA featured case first (Spotlight), ivory and goldText tabsCinema
EditorialOne case per row with room for its storyText tabsCase story
CompactA dense wall of photos; a case opens in placeFilter barDrawer
Photo-firstPortrait photos without boxes, the result firstPhoto pillsCinema
  • Preview opens the template full screen with your own cases, at Desktop, Tablet (820 px) or Phone (390 px). A gallery with no published cases yet is previewed with sample cases.
  • Use this template applies it in one click — from the card or from the preview. The page then offers Undo.
  • Everything a template sets stays editable afterwards in the other Design sections.

The setup wizard’s Look step offers the same templates — see Setup wizard.

Live preview of your changes (Pro)

The Pro workspace keeps track of unsaved changes (a bar shows them, with Save and Discard). Preview shows the gallery with your unsaved design settings at desktop, tablet or phone width before you save. Nothing changes on your site until you save.

Style presets, motion and dark mode (Pro)

Under Design → Colours & style and Design → Gallery:

  • Presets: Default, Clinical, Luxury, Spa, Midnight — also per gallery with preset="luxury".
  • Motion: None, Subtle, Lively (motion attribute). Visitors who ask for reduced motion get none.
  • Dark mode: off, always on, or following each visitor’s device.

Restyling with CSS

The gallery’s cards ignore your theme’s fonts and button rules, so they look the same everywhere. To restyle them on purpose, set these CSS custom properties in Appearance → Customize → Additional CSS (no !important needed): --mbg-font, --mbg-heading-font, --mbg-text, --mbg-muted, --mbg-accent, --mbg-card-bg, --mbg-card-border, --mbg-card-radius, --mbg-card-shadow, --mbg-card-shadow-hover, --mbg-card-padding.

.medbeafgallery-container {
  --mbg-card-radius: 4px;
  --mbg-font: "Lato", sans-serif; /* a font your theme already loads */
}

Try the templates: Clinical · Modern · Luxury · Editorial · Compact · Photo-first.