card.rst 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. .. _card-block:
  2. Card Block
  3. ==========
  4. Allows the user to fill out information to be displayed in a card. Crops the image to a 3:2 ratio.
  5. .. note::
  6. There is also a :ref:`card-grid` which groups cards into a grid and is a Layout Block;
  7. this Card Block only displays a single card.
  8. Example: See below.
  9. Field Reference
  10. ---------------
  11. Fields and purposes:
  12. * **Image** - Select the image to display in the card
  13. * **Title** - The text to show for the title of the card
  14. * **Subtitle** - The text to show for a subtitle, if desired
  15. * **Body** - The text to show for the body of the card
  16. * **Links > Button Link** - The button link to include at the bottom of the card, set to link to a page or external link
  17. * **Advanced Settings > Template** - Multiple options for Card layouts. See Below for reference.
  18. Here is the same card, using different templates in the advanced settings:
  19. .. figure:: images/card_layout_options.jpeg
  20. :alt: Grid of a card with different layout templates selected
  21. A Grid of a card with different layout templates selected.
  22. Explore `Bootstrap Cards <https://getbootstrap.com/docs/4.0/components/card/>`_ to get an understanding of the
  23. appearance and function of cards.