Design System WordPress Theme
Home
Github
Home
Github
  • Site Editor

    • Patterns

      • How to use patterns
        • DSWP Card With Hyper Link List
        • DSWP Vertical Cards
        • DSWP Default Heading
        • DSWP Footer With Territorial Acknowledgement
        • DSWP Heading with Paragraph(s)
        • DSWP Horizontal Card No Shadow
        • DSWP Icon with Excerpt
        • DSWP Hero Image with Title
        • DSWP Horizontal Card
        • DSWP Horizontal Card Large Image Left
        • DSWP Horizontal Card Large Image Right
        • DSWP Image And Text
        • DSWP Image And Text Flipped
        • DSWP Information Contact Socials
        • DSWP Link With Arrow
        • DSWP Secondary Hero Image With Title
        • DSWP Team Pattern
        • DSWP Vertical Cards With Icon
      • Patterns Overview
  • Developers

    • Patterns Troubleshooting
    • Template Parts

DSWP Vertical Cards With Icon

Overview

This pattern creates a grid of vertical cards, each featuring an icon, heading, and a list of links. The cards have a distinctive gold top border and light gray background (both which can be changed), with a consistent layout and spacing.

Important Note

The structural settings (padding, margins, borders) are pre-configured for responsiveness. Only modify content and colors to maintain design consistency.

Pattern Components

Pattern Components

Each card contains:

  1. Container

    • 1px border (dswp-surface-color-border-default)
    • 7px border radius
    • Light gray background
    • 9px gold top border
  2. Icon Section

    • Square image (256px)
    • Light gray background
  3. Heading Section

    • H5 heading (xx-large font size)
  4. Links Section

    • Three linked items (default, can add more)

Common Tasks

Modifying border color:

  1. Click on the heading text
  2. Type your new heading
  3. The styling will automatically apply

Modifying border color

Icon Replacement:

  1. Select the image block
  2. Click "Replace"
  3. Upload or select image Icon replacement

Modifying the Heading:

  1. Click on the heading text
  2. Type your new heading
  3. The styling will automatically apply

Modifying the Heading

Updating Link:

  1. Select the link text
  2. Update URL and text as needed

Updating Link

To Add a Card:

  1. Click the ellipses (⋮) next to any card (see gif below)
  2. Select "Duplicate"

Updating Link

Removing a card:

  1. Click the ellipses (⋮) next to any card (see gif below)
  2. Select "Delete"

Updating Link

Layout

  • Desktop: 3x2 grid
  • Mobile: Single column Layout

Block Documentation

For detailed instructions on modifying specific blocks, refer to WordPress's official documentation:

  • Image Block
  • Heading Block
  • Paragraph Block
Contributors: ASpiteri-BCGov
Prev
DSWP Team Pattern