Bootstrap Card

Last updated

A flexible Bootstrap card with optional images, a header and a footer. Add one or more Card Body blocks inside and build their content right on the canvas.

Demonstration

Card title

Placeholder text for a plain card. Add headings, paragraphs, images or buttons to the card body.

Card header

Header and footer

Placeholder text. This card turns on the header and footer and uses a primary border.

Palette color

Placeholder text on a primary background, centered. Colors follow the Customizer palette.

Bootstrap Card Settings

General

Show Top Image: Display a Bootstrap card-img-top image.

Top Image: Uses the Media Library alt text and responsive image markup.

Header: Display a card header above the Card Body.

Header Text: Text shown in the card header.

Header Variant: Inherit the Base Card Variant, use a transparent header, or apply a shared palette color.

Footer: Display a card footer below the Card Body.

Footer Text: Text shown in the card footer.

Footer Variant: Inherit the Base Card Variant, use a transparent footer, or apply a shared palette color.

Show Bottom Image: Display a Bootstrap card-img-bottom image.

Bottom Image: Uses the Media Library alt text and responsive image markup.

Style Variant: Uses the shared Bootstrap palette from the Customizer.

Border Variant: Choose a contextual border or remove the border.

Text Alignment: Applies to the entire card.

Equal Height: Adds h-100 so cards can fill equal-height grid columns.

Enable Advanced Classes: Replace generated style, border, alignment, and equal-height modifiers with hand-entered Bootstrap classes. The card class remains automatic.

Advanced Card Classes: Space-separated modifiers and utilities; do not include card. Example: text-bg-primary border-dark h-100.

Bootstrap Card Body

Body Variant: Inherit the Base Card Variant or apply a shared palette color to this Card Body.