Build Feature Boxes

Page Content

How to Use Feature Boxes

Feature boxes are a card-based format typically used for displaying text and images together in a consistent group. They allow for slider functionality and can each contain buttons with links. The height of each feature card matches the height of the feature box with the most content to remain consistent across the page. In this module, you will learn how to add a feature box to a page.

Learning objectives

  • Understand the purpose of feature boxes in displaying text, images, and buttons in a consistent and organized way
  • Learn how to create and configure feature boxes, including adding content, images, and links to buttons

Instructions

From the T4 Site Structure, navigate to the page you are updating. 

How to add feature boxes

  1. Click the Add Content button.
  2. Select Feature Boxes from the list of content types.
  3. Use the following content elements:
    • Name: Add descriptive name
    • Main heading: Optional, used to add a main H3 heading above a group of feature boxes.
    • Main description: Optional, used to add a main description (sentence or paragraph) above a group of multiple feature boxes.
    • Slider: Select to add clickable arrows page visitors can use to manually scroll through a minimum of four consecutive feature boxes.
    • Select image: Click Select Media to navigate to the image for the feature box that has been uploaded to the T4 Media Library. This content type uses the CDN PXL, so you do not need to resize the image prior to uploading it to the T4 Media Library.
    • Heading: Used to add the bold heading/title of the individual feature box.
    • Description: Used to add the content within the individual feature box. Do not add links to the text in the description field of a Feature Box. 
    • Open link in new tab: Select to have the link open in a new tab.
    • Use only one of the following:
      • Link (internal): Use to link to a different section or content within your site.
      • Link (external): Paste the URL to an external website (any webpage that is not part of your site, including other Mayo Clinic websites).
    • CTA link text: Enter text to be used on the button of the feature box.
  4. Click the Save Changes button to save content as a draft, or press the arrow and select Save and Approve to save and publish updates.

Video tutorial


Best practices

  • Ensure that each feature box has a similar amount of content to maintain consistency in design and prevent layout issues
  • Avoid overcrowding the page with too many feature boxes; prioritize the most important content to maintain clarity and focus

Common issues and troubleshooting

  • There is unintentionally a slight gap between the feature box's image and its border

Additional resources

You should now be able to effectively create and configure feature boxes to display text, images, and buttons in an organized and visually consistent manner.


Explore the possibilities: Content type examples

Browse through the examples below to see how the type can be used in different scenarios and design choices.

Examples of the content type

Heading for feature box 1

Heading for feature box 1

This is the description field for the card. The image on a feature card should be resized to 720x480 before uploading to the T4 Media Library.

It is recommended to add a link to all feature boxes.

Total box height matches the box height of the feature box that contains the most text.

Example button
Heading text

Heading text

This is the description field for a card that doesn't include any links and has very little text.

It is not recommended to use feature boxes without links as you can see this box is still clickable but will not take you anywhere.

Heading for feature box 3

Heading for feature box 3

Feature box 3 has a description with a lot of text and a button link.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur consectetur lacinia ligula, id volutpat dolor mattis vel. Pellentesque porta a urna vel porta. Nullam eu massa id orci aliquet imperdiet ut non tellus. Maecenas molestie massa enim. Phasellus quis arcu semper, accumsan dui sed, faucibus nulla. Mauris congue enim id ante dictum bibendum. Nullam facilisis nisi a neque dictum efficitur. Ut tempor ornare aliquet. 

Learn more

Ready to enhance your content further?

Check out the next module.