Also known as: card with popup
A card displaying a photo and brief teaser copy. When selected, the card opens a modal (popup) with more details about the topic or person.
Example 1 - Modal open
| |
Example 2 - Modal open
|
Limit the amount of copy in the cards, since more detail will be shown in the modals.
Logo displayed next to name, title, and company
Layout created for T2L4

DEV NOTES * Where it says <img />, just use the Add Media button and add whatever photo you need. * You do not need to edit the default classes WordPress adds to the image. * Don't skip the divider element! If you forget it, the image won't appear. CODE <div class="name-title-company"> <div class="text-wrapper"> <p> <span class="name">Name</span> Title/Company Location </p> </div> <div class="divider"></div> <div class="image-wrapper"> <img /> </div> </div> |

DEV NOTES * The "image-right" class can be removed if you want the image on the left instead. * Where it says <img />, just use the Add Media button and add whatever photo you need. * You do not need to edit the default classes WordPress adds to the image. * Make sure to include <p> tags around any text. * Add the "modal-quote" class if you want quote styling like in the photo above: <p class="modal-quote"> CODE <div class="modal-image-text image-right"> <div class="image-wrapper"> <img /> </div> <div class="text-wrapper"> <p>Text Here.</p> <p>Second paragraph.</p> </div> </div> |
Within modal
|
DEV NOTES
* Images two and three are hidden for mobile screens.
* Can use a single caption for all three images for desktop. The mobile caption should just be for image one, since the others are not visible at that point.
CODE - WITH CAPTION
<div class="staggered-wrapper mt-5">
<div class="staggered-image-one image-one">
<img decoding="async" class="image" src="" alt="" aria-describedby="staggered-collage-caption">
</div>
<div class="staggered-image-two image-two">
<img decoding="async" class="image" src="" alt="" aria-describedby="staggered-collage-caption">
</div>
<div class="staggered-image-three image-three">
<img decoding="async" class="image" src="" alt="" aria-describedby="staggered-collage-caption">
</div>
<div class="caption" id="staggered-collage-caption">
<p class="mobile-caption mt-0">Mobile Caption</p>
<p class="desktop-caption mt-1 text-center">Desktop Caption</p>
</div>
</div>
CODE - NO CAPTION
<div class="staggered-wrapper mt-5 mb-0 pb-0">
<div class="staggered-image-one image-one">
<img decoding="async" class="image" src="" alt="">
</div>
<div class="staggered-image-two image-two">
<img decoding="async" class="image" src="" alt="">
</div>
<div class="staggered-image-three image-three">
<img decoding="async" class="image" src="" alt="">
</div>
</div> |
Detailed view
| Within modal
|
DEV NOTES
* Image one and two must be horizontal, image three vertical
* Image two and three are hidden for mobile screens.
* Can use a single caption for all three images for desktop. The mobile caption should just be for image one, since the others are not visible at that point.
CODE - WITH CAPTION
<div class="mixed-layout-collage">
<div class="image-one">
<img decoding="async" class="image brand-border-radius" src="" alt="" aria-describedby="mixed-collage-caption">
</div>
<div class="image-two">
<img decoding="async" class="image brand-border-radius" src="" alt="" aria-describedby="mixed-collage-caption">
</div>
<div class="caption" id="mixed-collage-caption">
<p class="mobile-caption pt-2">Mobile Caption</p>
<p class="desktop-caption text-end">Desktop Caption</p>
</div>
<div class="image-three">
<img decoding="async" class="image brand-border-radius" src="" alt="" aria-describedby="mixed-collage-caption">
</div>
</div>
CODE - NO CAPTION
<div class="mixed-layout-collage">
<div class="image-one">
<img decoding="async" class="image brand-border-radius" src="" alt="">
</div>
<div class="image-two">
<img decoding="async" class="image brand-border-radius" src="" alt="">
</div>
<div class="image-three">
<img decoding="async" class="image brand-border-radius" src="" alt="">
</div>
</div> |
Stacked
| Swiper
|
50/50 modal header image
| Full-width modal header image – text sits on the image, with a dark gradient overlay for contrast.
|
Example showing pullquote, horizontal rule, and microtitle |
Pullquote
* Can adjust or remove "my-4" class if needed. Author and cite elements are optional.
<figure class="wsb-pullquote mx-0 my-4">
<p class="quote">add quote here</p>
<p class="author"><cite> add speaker name here</cite></p>
</figure>
Horizontal rule
* Removing "hr-gray" will make the line yellow instead.
<hr class="hr-gray my-5" />
Microtitle style for subheads (with yellow triangle)
* These styles can be used on any heading level.
<h3 class="microtitle mb-3"><img class="microtitle-arrow" alt="" src="/wp-content/uploads/2024/10/Two-toned-yellow-arrow-digital-100x164-1.png" width="9" height="15" aria-hidden="true" /> Subheading</h3> |

Career Points * Add the "career-points" class to any ul to get this styling. <ul class="career-points"> <li>Point 1</li> <li>Point 2</li> <li>Point 3</li> </ul> |
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.