Button-Style Cards
How to add a Button-Style Cards component
Step 1: Add and configure Button-Style Cards component
- Add a Button-Style Cards component (see Adding a component for instructions on how to add a component).
- Select the Section Heading tab to add an optional section that appears at the top of the Button-Style Cards component (see Adding a component heading for details about adding a section heading).
- Select the Block Settings tab.
- Select a heading level from the Card Heading Level menu that correctly reflects the information structure of the content. For example, if your Button-Style Cards component has a H2 heading, the Card Heading Level (the headings on individual Button-Style Cards) should be H3.
- Select an alignment from the Icon Placement menu to align the icon to the Left or Right side of the card.
- Add an optional Page Anchor Link to allow for links to the Button-Style Cards component (see instructions under Linking to page content).
- Select the Color Settings tab.
- Select from the Color Scheme menus:
- Component Color Scheme: Background and foreground colors for the overall component.
- Card Color Scheme: Background and foreground colors for cards.
- Review the Component Color Scheme Preview to see the effect of changing the color settings.
Step 2: Add a Button-Style Card item
- Select the Content tab.
- Use the arrow controls or enter a value in the Columns field. This value should be the number of cards to display in a single row; to display four cards in a single-row grid, set the number to 4.
- Select the Add Button-Style Card button.
- Fill out the following information:
- Heading: A heading that describes the linked resource. The heading also serves as the link text for the linked resource.
- Link: The URL of the highlighted resource, to learn more.
- Body: Introductory text that further describes the referenced resource. This should be no more than a few sentences with details that compel users to follow the link to learn more.
- Choose a Media Type to display an Icon or Image at the top of the card item.
- Icon Media Type: Use the Card Icon autocomplete input to locate and select your icon from the dropdown list of matching icons. You can review available icon options from the Material Design Icon List.
- Image Media Type: Select the Add image button to select an image from the media library or upload a new image (see Media Library for details about working with the media library). The optimal image size (in pixels) for a Button-Style Card is 960 x 540 (see Image Sizes for more details). Provide the appropriate alternative text or mark the image as decorative, depending on the role of the image on the page (see When to add alt text for best practices for providing alternative text).
Step 3: Configure Button-Style Card item settings
- Select the Block Settings tab.
- Add an optional Page Anchor Link to allow for links to the Button-Style Card item (see instructions under Linking to page content).
- Once you have completed your Button-Style Card item configuration settings, choose Save to save the Button-Style Card item.
Step 4: Save Button-Style Cards component
- Preview the Button-Style Card item in the Button-Style Cards section of the Create new Button-Style Cards dialog. You can add more Button-Style Card items by clicking the plus sign next to the first Button-Style Card item.
- Once you have finished adding Button-Style Card items, choose Save to save the Button-Style Cards component.