Business · Gutenberg
Service Cards block for WordPress
Grid of service offering cards with icon, title, description, bullet highlights and a learn-more link.
Get Blockenberg
Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.
What it actually does
Grid of service offering cards with icon, title, description, bullet highlights and a learn-more link.
Inspector panels on this block: Layout, Card Style, Accent Bar, Display, Cards. Those titles come from index.js, not from a shared template.
Behavior controls: “Columns (desktop)” options: 1, 2, 3, 4; “Columns (tablet)” options: 1, 2, 3, 4; “Columns (mobile)” options: 1, 2, 3, 4; “Card style” options: Card (shadow), Bordered, Flat / Ghost.
Where to find it
Gutenberg inserter → Business → search “Service Cards” (block name `blockenberg/service-cards` in block.json). Style it in the sidebar after insert.
How to use Service Cards block for WordPress
- Install Blockenberg. Install from WordPress.org and activate the plugin.
- Insert the block. Edit a page, click +, search for “Service Cards”, insert it. Category: Business.
- Configure inspector controls that exist on this block. Open Layout. Set “Columns (desktop)”, “Columns (tablet)”, “Columns (mobile)”, “Gap (px)”.
- Check the published page. The view script reads HTML data attributes: data-cols-mobile, data-cols-tablet. The block editor preview may not run the same view script.
Inspector controls from this block’s code
| Control | What the code does |
|---|---|
| Columns (desktop) | Select control; the chosen value is saved on the block. Options: 1; 2; 3; 4. block.json default: 3. Saved as `columns`. |
| Columns (tablet) | Select control; the chosen value is saved on the block. Options: 1; 2; 3; 4. block.json default: 2. Saved as `columnsTablet`. |
| Columns (mobile) | Select control; the chosen value is saved on the block. Options: 1; 2; 3; 4. block.json default: 1. Saved as `columnsMobile`. |
| Gap (px) | Numeric range control in the inspector. Range 8–64. block.json default: 28. Saved as `gap`. |
| Card style | Select control; the chosen value is saved on the block. Options: Card (shadow); Bordered; Flat / Ghost. block.json default: card. Saved as `cardStyle`. |
| Hover effect | Select control; the chosen value is saved on the block. Options: Lift (shadow); Glow; None. block.json default: lift. Saved as `hoverEffect`. |
| Padding (px) | Numeric range control in the inspector. Range 12–64. block.json default: 32. Saved as `cardPadding`. |
| Radius (px) | Numeric range control in the inspector. Range 0–32. block.json default: 16. Saved as `cardRadius`. |
| Bar position | Select control; the chosen value is saved on the block. Options: Top; Bottom; Left; None. block.json default: top. Saved as `accentBarPosition`. |
| Bar thickness (px) | Numeric range control in the inspector. Range 2–12. block.json default: 4. Saved as `accentBarHeight`. |
| Use per-card accent color | On/off toggle in the inspector. On by default. Saved as `useItemAccent`. |
| Show highlights | On/off toggle in the inspector. On by default. Saved as `showHighlights`. |
| Show CTA | On/off toggle in the inspector. On by default. Saved as `showCta`. |
| CTA style | Select control; the chosen value is saved on the block. Options: Link arrow; Button. block.json default: link. Saved as `ctaStyle`. |
| CTA button radius (px) | Numeric range control in the inspector. Range 0–99. block.json default: 8. Saved as `ctaRadius`. |
| Icon shape | Select control; the chosen value is saved on the block. Options: Rounded; Circle; Square. block.json default: rounded. Saved as `iconShape`. |
| Icon emoji (px) | Numeric range control in the inspector. Range 20–56. block.json default: 40. Saved as `iconSize`. |
| Icon bg size (px) | Numeric range control in the inspector. Range 36–100. block.json default: 64. Saved as `iconBgSize`. |
| Highlights (px) | Numeric range control in the inspector. Range 11–18. block.json default: 13. Saved as `highlightSize`. |
| CTA text (px) | Numeric range control in the inspector. Range 12–20. block.json default: 14. Saved as `ctaSize`. |
| Padding top (px) | Numeric range control in the inspector. Range 0–200. block.json default: 60. Saved as `paddingTop`. |
| Padding bottom (px) | Numeric range control in the inspector. Range 0–200. block.json default: 60. Saved as `paddingBottom`. |
| CTA label | Text field in the inspector. |
| CTA URL | Text field in the inspector. |
What the front-end script actually does
- The view script reads HTML data attributes: data-cols-mobile, data-cols-tablet.
- An IntersectionObserver starts work when the block enters the viewport.
When this is the right block
- Grid of service offering cards with icon, title, description, bullet highlights and a learn-more link — that is the job of Service Cards, not a generic content block.
- Use it when you need the editor control labeled “Columns (desktop)”, which exists on this block’s inspector.
- Inserter grouping: company, service, and operations pages.
Notes from the implementation
viewScript: this folder’s frontend.js is enqueued on the front end for this block.
FAQ
How do I add the Service Cards block in WordPress?
Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Service Cards”. It sits under Business. After insert, open Layout and set “Columns (desktop)”, “Columns (tablet)”, “Columns (mobile)”, “Gap (px)”.
What makes Service Cards different from other Blockenberg blocks?
Grid of service offering cards with icon, title, description, bullet highlights and a learn-more link. Inspector labels on this block include “Columns (desktop)”, “Columns (tablet)”, “Columns (mobile)”, “Gap (px)”.
Is the Service Cards Gutenberg block free?
Yes. Service Cards ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.
Can I style Service Cards to match my theme?
Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Layout, Card Style, Accent Bar, Display).
Related business blocks
About Section
Ready-made About Us section with split image/video + text layout, optional company stats row, badge label, CTA buttons, and full background/color controls.
Address Card
Business address card with contact details, opening hours, and optional map link.
App Screenshot
SaaS/app product screenshot section with annotated callout points, device frame, heading, subtext, and CTA. Perfect for software landing pages.
Author Box
Display a blog author profile card with avatar, name, bio, role and social media links.
Author Profile
Extended author bio card with avatar, name, role, bio, stats, and social links.
Avatar Group
Overlapping stack of user or team avatars with an optional +X counter bubble.
Get Blockenberg
Install Blockenberg from WordPress.org, then insert Service Cards from the Gutenberg inserter.