Adding a Callout block

We will take advantage of the Before Content region we created in our theme's configuration file to add our next component. The Callout block we identified in our mockup earlier allows us to add additional information that helps introduce our Contact form.

If we quickly review the contact.html page from the Mockup folder, we can identify that we will need to create a custom block that consists of a heading and a paragraph.

Adding a Callout block

This is a pretty simple block to create, so let's get started by navigating to /admin/structure/block, which will take us to the Block layout admin.

Next, we will follow these steps:

  1. Click on the Place block ...

Get Drupal 8 Theming with Twig now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.