Cards

HL Plugins / Cards

Cards

By For Higher Logic Sites and Communities

Arrange HTML widgets into a clean, responsive card grid.

Cards turns a row of HTML widgets into a responsive grid of cards. Choose how many cards you want across — two, three, or five — and the plugin handles the layout, spacing, and mobile responsiveness automatically.

Perfect for featured content, resource libraries, program highlights, member benefits, or any situation where you want visual parity across multiple items.

See it in action

The three cards below are three separate HTML widgets inside a single row. The Cards plugin is styling them into a responsive grid.

   

Card Title Card Title Card Title Card Title

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris nisl felis, dignissim eget metus id, eleifend interdum turpis. Suspendisse eros neque, sollicitudin placerat nisi id, dapibus lacinia mi.

  1. Can use lists too
  2. Lists are cool
  3. 🎉🎉🎉🎉🎉

Take Action

Card Title Card Title Card Title Card Title

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin eget odio ac ipsum consectetur dapibus. Mauris nisl felis, dignissim eget metus id, eleifend interdum turpis. Suspendisse eros neque, sollicitudin placerat nisi id, dapibus lacinia mi. Proin eget odio ac ipsum consectetur dapibus. 

Take Action

Card Title Card Title Card Title Card Title

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin eget odio ac ipsum consectetur dapibus. Mauris nisl felis, dignissim eget metus id, eleifend interdum turpis. Suspendisse eros neque, sollicitudin placerat nisi id, dapibus lacinia mi. 

Take Action

How to create a card grid

  1. Add a single-column row to your page.
  2. Add the CSS Wrapper Class Name theme-logic-cards to the row (not to the individual widgets inside it).
  3. Add HTML widgets inside the row — one widget per card. Each widget's content becomes one card.
  4. Save and publish. Your widgets are now styled as a responsive card grid.

Options

Choosing the card size

By default, cards display three across on desktop. To change the layout, add one additional class alongside theme-logic-cards.

Three size options:

cards-sm — small cards
Five cards across at desktop width. Wraps to fewer columns on narrower screens. Best for logos, small icons, or tight content.

cards-md — medium cards (default)
Three cards across at desktop width. This is what you get if you don't add a size class. Best for most use cases.

cards-lg — large cards
Two cards across at desktop width. Gives each card more room to breathe. Best for featured content with longer descriptions or larger images.

Example combinations:

  • theme-logic-cards cards-sm
  • theme-logic-cards cards-md
  • theme-logic-cards cards-lg

Using images in cards

Images work great inside cards — they anchor the card visually and give each one a distinct identity. To make sure they render correctly, follow two rules:

  1. The image must be the first thing in the widget — before any heading, paragraph, or other content.
  2. Wrap the image in a Heading 6 (<h6>), not a paragraph (<p>). In the HL rich-text editor, click the image, open the paragraph-format dropdown, and choose Heading 6. The plugin uses this wrapper to identify the image as the card's lead visual and style it appropriately.

Example — correct structure:

<h6><img src="..." alt="..."></h6>
<h3>Annual Conference</h3>
<p>Three days of sessions, networking, and keynotes.</p>

If the image is wrapped in a <p> or placed below other content, it won't be recognized as the card's lead image and won't receive the correct styling. Fix it by moving the image to the top and changing its wrapper to Heading 6.

Good to know

The row must be single-column. The Cards plugin only works on rows configured as a single column. If you have a multi-column row, the plugin won't activate — widgets will display in their original layout.

Class goes on the row, not the widget. This is the most common setup mistake. The CSS Wrapper Class goes on the row's settings, not on any individual widget.

Equal-height cards. Cards in the same row automatically match heights, so uneven content won't create a jagged layout.

Content flexibility. Each card is just an HTML widget, so cards can contain anything — images, headings, text, buttons (including Easy Buttons!), lists, or mixed content.

Mobile responsiveness is automatic. No matter which size you choose, cards will stack cleanly on mobile devices.

Images need special setup. Lead images must be the first element in the widget and wrapped in an <h6> rather than a <p> — see Using images in cards above.

Images look best when sized consistently. If you're using images in your cards, try to use the same aspect ratio across all cards in a row for visual cohesion.

Ready to use this plugin?

If you haven't installed the plugin library on your HL site yet, you can request access and set it up in under five minutes. It's a quick one-time setup.

Get started

Feedback welcome

Found a bug? Have a suggestion to make this plugin better? We'd love to hear it.

justin@themelogic.com

Need something custom?

Need this plugin to behave differently, or want a custom plugin built specifically for your site? We offer custom plugin development.

justin@themelogic.com