...
- When card images are full-width, the modal header can have a 50/50 or full-width image
50/50 modal header image
Full-width modal header image – text sits on the image, with a dark gradient overlay for contrast.
Additional modal
...
elements:
- red pullquote
- gray horizontal rule
- microtitle (yellow triangle, subhead styled in all caps, dark blue text)
Example showing pullquote, horizontal rule, and microtitle
...
Remind writer/strategist to limit the amount of copy in the cards, since more detail can be shown in the modal. This is especially true for the full-width photo layout, since we don't want the copy to wrap and be so tall it covers faces in the card photos.
- Microtitle (optional) - Keep this short.
- This content will display in the modal header by default. Set the "Display card microtitle in modal header?" field to "no" if you want to hide it in the modal
- Title (required) - This field must have content so the card has an html heading
- This content will display in the modal header by default. Add content to the "Modal Title Override" field to replace it.
- Card Supporting Copy (optional) - Used sparingly.
- Use this field OR the microtitle field, especially for cards with full-width background images.
- This content will not be displayed in the modal
- Card Image
- For circle crop - face must be centered in a square photo
- For full-width image - face should be in top 1/3 of the image
- If the face is too low in the photo, you can try to crop ~100px off the top of the image inside WP media library.
- If using a vertical photo for the card, you will need to add a horizontal version to the modal image override field for the image to display correctly at the top of the modal.
- Crop image to circle? - use for square images, including headshots
...
- Display card microtitle in modal header? - true/false, pulls Microtitle subfield from Card and displays in modal above title.
- Full width image? - makes image full width inside the modal header instead of half width.
- Recommend using Modal Image Override field with this, to ensure the card image and modal image work well with in each othercase.
- Modal Title Override - Use this to override the card title with different text for the modal header. This field can have more characters than the card title, but it's still best practice to keep the title short.
- Supporting Details - WYSIWYG for displaying job titlestitle, company, or majors
- Modal Image Override - Use this to override the full-width card image. It is unlikely you will need this field for circle crop images.
- Modal Text - WYSIWYG for modal copybody content. You will need to use inline HTML and CSS classes for styles.
- Copy code snippets found on this page for consistent styling.
Configuration
- Number of columns - you can select one, two, or three columns. Three columns is the default.
- The headshot/circle crop style should only be used with two and three column layouts. (The image looks too small for a card in a single column layout)
- If you run into issues with card copy being too long, either ask the copywriter to shorten the copy or reduce the number of columns from 3 to 2.
- Stretch link? - this will make the modal open when a user selects anywhere on the card. Checked is the default.
...
- These are standard sections for our custom blocks.
Resources
- link to component
- Card modal mockup in Figma


