Trust Badges renders a curated row of payment, security, and service icons to reinforce buyer confidence at checkout or anywhere on the page. Choose from built-in presets, hand-pick individual badges, or upload your own images — or mix all three.
How to add
Open the block inserter, switch to the Axiom Blocks category, and click Trust Badges. The block drops in with the Mixed preset active: Visa, Mastercard, PayPal, SSL Secure, and Money Back.
Badges
Preset quickly populates the badge list with a curated set:
| Preset | Contents |
|---|---|
| Mixed (recommended) | A balanced mix of payment, security, and service badges |
| Payment only | Payment method icons only |
| Security only | SSL, encryption, and trust icons only |
| Service only | Guarantee and support icons only |
| All built-in | Every available built-in badge |
| Custom selection | Preserves your current manual selection |
Below the preset selector, badges are listed by category — Payment, Security, Service — each as an individual toggle. Enabling or disabling any toggle switches the preset to Custom selection automatically.
Color mode controls how the built-in SVG badges are painted:
| Mode | Appearance |
|---|---|
| Brand colors | Each badge renders in its original brand colors |
| Monochrome | All badges render in a single color, set in Styles → Icon |
Custom badges
Click Add custom badge to add your own images alongside the built-in ones. Each entry has:
- Image — click the thumbnail to open the media library
- Label / alt — text below the badge, also used as the image alt attribute. Leave blank to suppress the label.
- Optional link URL — wraps the image in a link that opens in a new tab
- Remove — deletes the entry
Custom badges render after the built-in ones. A custom badge without an image is skipped on the frontend.
Heading
Show heading toggles an optional text line above the badge row. Default on, reading Secure Checkout Guaranteed. When enabled you also get Heading text and a Left / Center / Right alignment choice.
Layout
- Layout — Horizontal row (a single wrapping row) or Grid (a fixed column grid)
- Columns — 2–6, in Grid layout. Per-device.
- Alignment — Left, Center (default), or Right. Per-device.
- Gap — spacing between badges, 0–64 px. Per-device.
- Badge size — Small (32 px), Medium (48 px, default), or Large (64 px)
The sidebar at a glance
The block sidebar is split into two tabs. Settings is what the block shows; Styles is how it looks, organised by the parts you can see.
| Tab | Section | Covers |
|---|---|---|
| Settings | Badges | Preset, color mode, badge toggles, custom badges |
| Settings | Heading | Show heading, text, alignment |
| Settings | Layout | Layout mode, columns, alignment, gap, badge size |
| Settings | Advanced | Visibility, Position, anchor, CSS class |
| Styles | Card | The tile around each badge |
| Styles | Icon | The badge glyph (Monochrome only) |
| Styles | Heading | The line above the row |
| Styles | Label | The text under each badge |
| Styles | Spacing | Padding and margin on the outer wrapper |
Styling
| Part | Rows |
|---|---|
| Card | Background, Border, Radius, Shadow, Padding (per device), Gap (per device) — Background and Shadow with Normal / Hover |
| Icon | Color |
| Heading | Text, Typography |
| Label | Text, Typography |
- Card is the tile behind each badge. Its Gap row takes px or rem and controls the icon-to-label spacing inside the tile.
- Icon appears only when Color mode is Monochrome. In Brand colors mode there's nothing to recolor, so the section is hidden rather than left inert.
- An unset Hover background keeps the resting background, matching the CSS fallback — so turning on hover for the shadow alone won't wash out your card color.
The block supports Wide and Full alignment from the toolbar and an HTML anchor.
HTML output
CSS custom properties
| Property | Controls |
|---|---|
--ab-tb-gap | Spacing between badge items |
--ab-tb-item-gap | Spacing inside a tile, icon to label |
--ab-tb-columns | Grid column count (unset in horizontal layout) |
--ab-tb-icon-size | Badge icon width and height |
--ab-tb-icon-color | Monochrome fill color |
--ab-tb-card-bg / --ab-tb-card-bg-h | Card background and hover background |
--ab-tb-card-radius / --ab-tb-card-radius-* | Card radius, overall and per corner |
--ab-tb-bs / --ab-tb-bc / --ab-tb-bw-* | Card border style, color, per-side width |
--ab-tb-shadow / --ab-tb-shadow-h | Card shadow and hover shadow |
--ab-tb-pt / -pr / -pb / -pl | Card per-side padding |
--ab-tb-heading-color / --ab-tb-label-color | Heading and label text color |