gillish

Give readers the short version first

The Summary block A piece of a page, such as a paragraph, a picture or a button. In WordPress you build a page by putting blocks one after another. is a tinted box for the top of a long article, so a reader gets the main points first. It holds a heading, such as Key takeaways, and a few sentences or a list. See it working on the Summary page.

Add a summary

  1. Add the Summary block at the top of your article.

  2. Type the heading straight into the box. A new box says Key takeaways. Change it, or empty it for a box with no heading.

  3. Write the main point in two or three sentences.

  4. In the Settings tab, pick Text, Bullet list or Numbered list under Show as.

Any other block can go inside the box too. The heading can hold bold text, links and other formats.

The settings

The Summary panel lists, in this order:

  • Show as: Text, Bullet list or Numbered list. It changes the text inside the box, and back. Nothing you wrote is lost, and bold stays bold. It shows only while the box holds paragraphs or one list. With another block inside, it is gone.
  • Heading level: 2 to 6, 2 to start. It is for screen readers A program that reads the screen aloud, for people who cannot see it well. They move around the page with the keyboard and hear what is there. and search engines, and level 2 fits most articles. It does not change the heading’s size. It is gone while the box has no heading.
  • Fold on phones: off to start. See below.

Fold on phones

On a long page, a summary can take up a phone’s whole screen. Switch on Fold on phones, and the box starts closed at your site’s phone width, 480 pixels unless the site changes it. A small arrow shows at the end of the heading’s row.

  • On a phone, the heading opens the box. A press opens it, and so do Enter and Space. A screen reader says the heading is a button, and whether it is collapsed or expanded. While the box is closed, the text is hidden from a screen reader too, and the heading can still be found.
  • On a larger screen, the box is always open, with nothing to press.
  • In the editor, the box stays open.
  • With scripts off, the box is open at any width.
  • Nothing is remembered, so the box starts closed on the next visit.

Folding needs a heading, because that is what a visitor presses. With no heading, the panel says “Needs a heading: that is what a visitor presses to open the box.” A heading that holds a link does not fold, because a button cannot hold a link.

How it looks

With nothing set, the box takes a soft tint of the page’s text colour, with rounded corners and no border, so it works on a light and a dark page. The heading is bold and always a little larger than the box’s text, whatever its level.

To style it, open the block in Cairnstone → Blocks. Pick Heading or Text beside Style: above the heading, then set the colour and the rest in the Styles tab. With neither picked, the tab styles the whole box.

Good to know

  • The box is a section named by its heading, so a screen reader can jump to it, as a region or as a heading. With no heading, it is named Summary.
  • An empty box draws nothing on the page.
  • You can use several on one page. Each one has the Conditional Content setting, so different visitors can see different summaries.
  • A box that folds loads a small script. A box that does not fold loads none.

Next, read Compare two pictures with a divider.

Trails

Cairnstone