Teaser Cards
Created by Orckestra
How to present content in a teaser card
You can present your content either in an icon-based or image-based teaser card.
Note. To nicely lay out multiple teaser cards, consider using the Orckestra.Web.Html.Grid.Columns add-on.
Showing content in an icon teaser
To show content in an icon teaser card:
- Edit a page.
- Insert:
- one of the components: "Icon Teaser" or "Three Columns with Icon Teasers" (Components | Teasers),
- or the Orckestra.Web.Html.TeaserCards.IconTeaser function ( Insert | Function),
- or the following code:
Expand code
- Set these parameters:
- Icon: One of the icons from the pre-defined list.
- Icon Color: One of the pre-defined color style for the icon. "info" by default.
- Title: The title of the teaser.
- Description: Short description for the teaser.
- Read More URL: The URL to a page with more information. Optional.
- Read More Text: The text to appear on the "Read More URL" button. "Read more" by default.
- Background Color (
BackgroundStyle
): The style options for the background (none, light or dark). None by default.
Showing content in an image teaser
To show content in an image teaser card:
- Edit a page.
- Insert:
- one of the components: "Image Teaser" or "Three Columns with Image Teasers" (Components | Teasers),
- or the Orckestra.Web.Html.TeaserCards.ImageTeaser function ( Insert | Function),
- or the following code:
Expand code
- one of the components: "Image Teaser" or "Three Columns with Image Teasers" (Components | Teasers),
- Set these parameters:
- Image: An image for the teaser.
- Title: The title of the teaser.
- Description: Short description for the teaser.
- Read More URL: The URL to a page with more information. Optional.
- Read More Text: The text to appear on the "Read More URL" button. "Read more" by default.
Examples
You can view the examples of using teaser cards on the "Venus" starter site at:
- Icon teasers: ~/Getting-Started/components/Icon-Teasers
- Image teasers: ~/Getting-Started/components/Image-Teasers
Have a question?
Post it to the C1 CMS Foundation forum.