Text and image
The Text and image block puts a short piece of copy, an optional checklist and a link beside a tall photo.
In the admin: a page’s Content, block Text and image
What to put in it
Section titled “What to put in it”- Label above headline is the small word above, such as “Monitoring”.
- Headline is the section’s heading.
- Body is the copy. Leave a blank line between paragraphs.
- Checklist (one item per line) is the list with tick marks. Put one item on each line.
- Link text and Link make the link under the copy.
- Image is the photo. Image caption (shown on the photo) shows in a chip at its corner.
- Show the image first puts the photo on the left on wide screens, instead of the right.
| Field in the admin | Kind | Notes |
|---|---|---|
| Headline | Short text | Required. |
| Label above headline | Short text | |
| Body (leave a blank line between paragraphs) | Text | |
| Checklist (one item per line) | Text | |
| Link text | Short text | |
| Link (starts with /, https://, mailto:, tel: or #) | Short text | |
| Image | Image | |
| Image caption (shown on the photo) | Short text | |
| Show the image first | Tick box | |
| Section ID (lowercase, for links like /#pricing) | Short text |
Change the photo
Section titled “Change the photo”- Open the Text and image block.
- Under Image, select the picture and choose Replace, or remove it and choose a new one.
- Add alt text that says what the photo shows.
- Publish the page.
The photo is cropped to a tall rectangle, four parts wide to five parts high. A portrait photo suits it. See Preparing images.
When a field is empty
Section titled “When a field is empty”- Without an Image, only the copy shows.
- Image caption (shown on the photo) shows only when there is a photo.
- Without a Checklist, there is no list. Without Link text, there is no link.
- The block needs its Headline before the page can be saved.
Good to know
Section titled “Good to know”- Show the image first only changes wide screens. On phones the columns stack, and the copy always comes first.
- The home page uses two Text and image blocks: “See every kilowatt, room by room” and “Plan the path to net zero”. The second has Show the image first turned on.
- The layout is fixed. Email developer@example.com to change it.