gillish

Show how far something has come

The Progress Bar 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. shows bars or rings that show how far something has come, such as a fundraiser or a survey. See it working on the Progress Bar page.

Add progress bars

  1. Add the Progress Bar block where you want it.

  2. Type the label of the first bar, and use Value in its toolbar to set how far it has come.

  3. Press Add a bar for more.

Two Progress Bars, a playground fund and volunteers signed up, in the editor, and the Progress Bar panel in the Settings tab with Shape, Maximum and Show the value as.
Two goals with their progress, and the bar’s settings.

The Progress Bar settings

  • Shape: A bar (the default) or A ring.
  • Maximum: what a full bar stands for, 100 for percent, or a goal such as 2000.
  • Show the value as: A percent (72%) (the default); The value of the maximum (1,250 of 2,000), with Text before the numbers and Text after the numbers for a currency or a unit; or Nothing. With nothing shown, a screen reader 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. hears only the label, so say how far it has come in the label.
  • Thickness: Thin, Medium (the default) or Thick. Ends: Round (the default) or Square.
  • Grow into place on scroll is on to start, and never for visitors who prefer less motion.

Colours and shape

Where you set the look depends on where you edit the block. In a normal post or page, the Styles tab has WordPress’s own controls: colour, typography, padding and margin, and border. In a saved Cairnstone block, under Cairnstone → Blocks, the Styles tab has Cairnstone’s full set: colour (a ready-made set or your own), typography, border, shadow, filters, and size and spacing, each for the normal state and for hover, focus, pressed and switched off.

The same Progress Bars, and the Styles tab of a saved Cairnstone block with Color open.
The bars’ colours, in the Styles tab.

What visitors get

Each bar’s label and value as text, such as Funds raised, 1,250 of 2,000. The page needs no script for it.

Next, read Weigh up what is good and what is not.

Trails

Cairnstone