Covid Care
Import the Covid Care design and it brings blocks and content types of its own, on top of the main Canvas library. Read this page when you are working on a site built from Covid Care and meet a block you cannot find in the main reference.
These items stay registered on every site so that content you have already imported keeps rendering, and they appear in the block inserter only where the design is in use.
Content types this design adds
Care Services
canvas_care_service
One item is called a Care Service. You will find them in their own admin menu once the design is installed.
- Editor features: editor, excerpt, page-attributes, thumbnail, title
Each item carries these extra settings on its edit screen:
Service Full Title
Service Summary
Blocks this design adds
Care Services
canvas-core/care-services
Display care services from the Care Services post type as a numbered feature rail, pill tabs, a directory grid, or a single service page. In the block inserter it is named Canvas Care Services.
Select the block on a page and its own settings open in the sidebar, in the panels below:
Layout
LayoutDefaultDirectory Grid
Which part of the design this block draws. The two Pill Tabs choices are a pair: place the tab list in one column and the panes in another, and give both the same Tabs ID Prefix so they work together.
ChoicesDirectory GridNumbered Feature RailPill Tabs - Tab ListPill Tabs - PanesSingle Service - MetaSingle Service - CTASingle Service - Back + Related
Query
ItemsDefault
00 shows all services.
Order ByDefaultMenu Order
What decides the sequence services appear in: the order you arranged them in, when each was published, or the service name.
ChoicesMenu OrderDateTitle
OrderDefaultAscending
Whether that sequence runs forwards or backwards. The numbered rail counts in the same direction.
ChoicesAscendingDescending
Feature Rail
Feature Box ClassesDefault
feature-box fbox-border fbox-light fbox-effectStyle classes shared by every item on the numbered rail, which is what draws the outlined marker and the line joining one item to the next.
First Feature Box ClassesDefault
feature-box fbox-colorClasses for the first item, which opens the rail with a filled marker. Empty falls back to the shared feature box classes.
Last Feature Box Extra ClassesDefault
noborderAppended to the last item so the connector rail stops there.
Text Column ClassesDefault
col-md-6Style classes on the column holding the wording of a rail item, which is what sets how much of the row the text takes.
Illustration Column ClassesDefault
col-md-4 text-centerStyle classes on the column holding the picture beside a rail item.
Illustration ClassesDefault
p-4Style classes on the picture itself. The default insets it so it does not crowd the wording.
Last Illustration ClassesDefault
p-5Classes for the final illustration, which the design insets further. Empty reuses the shared illustration classes.
Illustration HeightDefault
230How tall the picture beside a rail item is drawn, in pixels. Set it to 0 to leave the height to the picture itself.
Item Title ClassesDefault
text-transform-none text-larger mb-2Style classes on the name of a rail item. The default keeps it as typed rather than in capitals, and a size up from the body copy.
Link Markers to the ServiceDefaultOn
Wraps each numbered marker in a link to that service page.
Pill Tabs
Tabs ID PrefixDefault
canvas-tabsShared id prefix that binds the tab list to its panes. Use the same value on both blocks.
Panes Container IDDefaultEmpty
Element id for the panes container. Empty derives it from the ID prefix.
Tab List ClassesDefault
nav flex-column nav-pillsStyle classes on the list of tabs. The default stacks them down the page as pills; drop the column class to lay them across instead.
Tab Number ClassesDefault
color-2 font-body me-1Style classes on the counting number in front of each tab.
Pane ClassesDefault
tab-pane text-centerStyle classes on each pane, the area a tab reveals.
Pane Body ClassesDefault
d-block text-start mt-5 mw-xsStyle classes on the wording inside a pane, under the picture. The default keeps the reading width narrow and the text ranged left.
Pane Title ClassesDefault
mb-3Style classes on the heading inside a pane, which is what sets the gap under it.
Pane Illustration HeightDefault
350How tall the picture inside a pane is drawn, in pixels. Keeping every pane the same height stops the page jumping as a visitor moves between tabs.
Last Pane Illustration HeightDefault
3200 reuses the shared pane illustration height.
Clearfix After First IllustrationDefaultOn
Adds a clearing element under the first pane illustration.
Intro Video URLDefaultEmpty
Optional lightbox video link shown under the tab list. Empty hides the button.
Intro Video Button TextDefault
Watch Intro VideoWording on the button under the tab list that opens the intro video.
Intro Video Button ClassesDefault
button button-large rounded-pill bg-color-2 button-light text-dark text-center ls-0 fw-medium ms-0 mt-3 w-autoStyle classes on that button, which is what draws it as a large pale pill.
Intro Video Button IconDefault
bi-play-circle-fill me-1The icon shown before the wording on the video button.
Intro Video Icon Inline StyleDefault
position: relative; top: 1px; margin-right: 5px;Styling written straight onto that icon. The default nudges it down a fraction so it sits level with the wording beside it.
Directory Grid
Grid Row ClassesDefault
row align-items-stretch col-mb-50Style classes on the row that holds the directory cards. The default makes every card in a row the same height.
Grid Column ClassesDefault
col-lg-4 col-md-6Style classes on the column each card sits in. This is what decides how many cards fit across the row at each screen width.
Grid Card ClassesDefault
feature-box fbox-center fbox-dark fbox-plainStyle classes on the card itself, which is what centres its contents and leaves it without a box or border.
Grid Illustration HeightDefault
140How tall the picture at the top of a directory card is drawn, in pixels. One height for all of them keeps the row of cards even.
Card Link TextDefault
Learn moreWording on the link at the foot of a directory card that opens the service page.
Card Link ClassesDefault
color fw-bold border-bottom border-width-2 border-color text-capitalizeStyle classes on that link, which is what gives it the accent colour and the thick underline.
Single
Services Page SlugDefault
covid-care-directorySlug of the services directory page. The single layouts resolve it to a portable permalink for the "Back" button. Empty = no link.
CTA Page SlugDefault
covid-care-appointmentSlug of the page the single CTA links to. Resolved server-side so the link survives import. Empty = no button.
CTA Button TextDefault
Book an AppointmentWording on the booking button at the foot of a service page. Leave it empty and no button appears.
Back Button TextDefault
All Care ServicesWording on the button that returns a visitor from a service page to the directory. Leave it empty and no button appears.
Related HeadingDefault
More ways we careHeading above the row of other services at the foot of a service page. Leave it empty to show them with no heading.
Single Eyebrow TextDefault
Care ServiceSmall linked label above the service title on its own page. Empty hides it.

