This is a tutorial on how to render content using a grid of cards that include titles, images, tags, strap etc. It is assumed that you have already created a content type in order to render the content.
Part 1) Use the Preview Card component to configure the nodes to be rendered as cards
Each node is rendered as an expandable item. This is done by mapping the fields of your content type (eg. News) to the fields of the Preview Card component.
- Visit the Manage Display page of the content type that you want to display (eg. News)
- Select a view mode (eg. Card) and map the fields of the content type to the ones of the component
- Save the form
Part 2) Configure a view to be rendered using the Card Grid display format
After setting up how each node will be set, a view needs to be created in order to gather and display the content items.
- Visit the views page
- Create a new view
- In the view:
- Create a display, either page or block, based on your needs
- Select Card Grid as format
- Select to show Display Suite: Content and as view mode select the one configured in step 1.2
- Add any other filter/url/configuration based on your needs