Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Card

    • Limit the amount of copy in the cards, since more detail can be shown in the modal.

    • Microtitle (optional) - Keep this short. Can be used as a microtitle or for person's name with parenthesis for graduation program and year
      • Character limit: copy should fit on one line, so the limit depends on number of columns in the layout
      • Use this field OR the card supporting copy field, especially for cards with full-width background images.
      • 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 - This field should have content so the card has an html heading 
      • Character limit: 40 characters
      • This content will display in the modal header. Add content to the "Modal Title Override" field to replace this content.
    • Card Supporting Copy (optional) - Use sparingly. Only use when the title character limit is too restrictive 
      • Character limit: 70 characters
      • 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 - you can use the standard image size of 2400x1600px for horizontal cards. You can use vertical images as well to make the cards vertical, but you will need to add a horizontal image 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 headshot images
  • Modal Popup

    • Modal Title Override - can override the card title. This can have more characters, but it's still best practice to keep the title short.
    • Supporting Details - WYSIWYG for job titles, company, or majors
    • Modal Image Override - you can override the full width image used in the card section
    • Modal Text - WYSIWYG for modal copy. You will need to use inline classes and HTML for styles.
        Modal code template - contains code and styling classes for elements such as horizontal rules, microtitle subheadings with yellow triangles, and pull quotes
      • To use template - copy and paste the code below into WYSIWYG field, then modify to fit your content
      • Expand
        titleView code template

        Modal Code template

        Add copy here

        <figure class="wp-block-pullquote mx-0 my-4 text-start">
            <p class="fs-5">add quote here</p>
        </figure>

        Add copy here

        <hr class="hr-gray my-5" />

        <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>

        Add copy here
         
        <figure class="wp-block-pullquote m-0 text-start">
            <p class="fs-5">Add quote here</p>
        </figure>

        How it looks:

        Image Removed

      • See code templates below
  • Configuration section

    • Number of columns - you can select one, two, or three columns. Three columns is the default.
      • Please note that headshot/circle crop style should only be used with two and three column layouts.
    • Stretch link? - this will make the modal open when a user selects anywhere on the card. Checked is the default.
  • Introduction and Footer sections

    • These are standard sections for many of our custom blocks.

...

Modal content is added in a WYSIWYG field, so you'll need to add HTML elements with classes for styling. Copy the code below for the content you need:


Modal with pullquote, horizontal rule <hr>, and microtitle styling for last subhead

Image Modified

Modal with staggered image collageModal with mixed image collage


Microtitle styles for subheads (with yellow triangle)

...

Code Block
languagehtml
<figure class="wp-block-pullquote mx-0 my-4 text-start">
    <p class="fs-5">add quote here</p>
</figure>


Supporting Images

Staggered image collage

Image Added

Mixed image collage

Image Added


Staggered collage (3 vertical photos)

...

Mixed collage (3 photos, 2 horizontal and 1 vertical)

...

Code Block

...

languagehtml
collapsetrue
<div class="mixed-layout-collage">
   <div class="image-one">
      <img decoding="async" class="image brand-border-radius" src="" alt="" aria-desribedby="collage-caption">
   </div>
   <div class="image-two">
      <img decoding="async" class="image brand-border-radius" src="" alt="" aria-desribedby="collage-caption"> 
   </div>
    <div class="caption" id="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-desribedby="collage-caption">
   </div> 
</div>

...

titleView code template

Modal Code template

Add copy here

Add copy here

...