Crossfit
Import the Crossfit 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 Crossfit 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
Classes
canvas_cf_class
One item is called a Class. 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:
Class Duration
Class Intensity
Workouts
canvas_cf_wod
One item is called a Workout. You will find them in their own admin menu once the design is installed.
- Editor features: editor, excerpt, title
Each item carries these extra settings on its edit screen:
Wod Cap
Wod Category
Wod Estimate
Wod Format
Wod Movements
Wod Results
Wod Rounds
Wod Scaling
Blocks this design adds
CrossFit Classes
canvas-core/cf-classes
Display the box classes as photo cards, or one part of a class page (its card, the other classes, its heading, its duration and intensity). In the block inserter it is named Canvas CrossFit Classes.
Select the block on a page and its own settings open in the sidebar, in the panels below:
Layout
LayoutDefaultClass Cards
Which part of the classes design this block draws. Class Cards lists them; each "Single Class" choice renders one part of the class page you place it on.
ChoicesClass CardsSingle Class - Its CardSingle Class - Other ClassesSingle Class - Heading and SummarySingle Class - Duration and Intensity
Query
ItemsDefault
00 shows every class. The other-classes row shows 2 when this is 0.
Order ByDefaultMenu Order
What decides the sequence of the cards. Menu Order lets you arrange them by hand on the classes list screen.
ChoicesMenu OrderDateTitle
OrderDefaultAscending
Which end of that sequence comes first.
ChoicesAscendingDescending
Display
Grid ClassesDefault
row g-3Class names on the row holding the cards.
Column ClassesDefault
col-lg-6 col-12Class names on the column around each card, which sets how many cards share a row.
Show the Class LinkDefaultOn
Add a link to the class's own page under each card.
Link TextDefault
Learn More →Wording of the link under each card.
Shown when Show the Class Link is on
Duration IconDefault
bi-clockIcon beside the class length.
Intensity IconDefault
bi-fireIcon repeated to show how hard the class is.
Intensity ScaleDefault
5How many icons make up the scale. The class's own rating is lit and the rest are dimmed.
Lit Icon Inline StyleDefault
color: var(--cnvs-themecolor);Styling on the icons that count towards the rating.
Dimmed Icon Inline StyleDefault
color: rgba(255,255,255,0.18);Styling on the rest of the scale.
EyebrowDefault
Our ClassesSmall line above the class name on its page.
Shown when Layout is "Single Class - Heading and Summary"
Class Name Inline StyleDefault
font-size: clamp(1.75rem, 8vw, 2.75rem);Styling on the class name. The default scales it down on phones so a long name stays on screen.
Shown when Layout is "Single Class - Heading and Summary"
Summary Inline StyleDefault
color: rgba(255,255,255,0.45); font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500;Styling on the summary under the class name.
Shown when Layout is "Single Class - Heading and Summary"
Details Inline StyleDefault
color: rgba(255,255,255,0.55);Styling on the length and intensity list.
Shown when Layout is "Single Class - Duration and Intensity"
Duration LabelDefault
Session LengthLabel in front of the class length.
Shown when Layout is "Single Class - Duration and Intensity"
Intensity LabelDefault
IntensityLabel in front of the intensity icons.
Shown when Layout is "Single Class - Duration and Intensity"
CrossFit Workout
canvas-core/cf-wod
Display one part of a workout of the day (its date, the workout itself or its whiteboard results), or the archive of every workout. In the block inserter it is named Canvas CrossFit Workout.
Select the block on a page and its own settings open in the sidebar, in the panels below:
Layout
LayoutDefaultWorkout
Which part of the workout design this block draws. On a workout's own page it shows that workout; anywhere else it shows the latest one.
ChoicesWorkout DateWorkoutWhiteboard ResultsWorkout Archive
Query
ItemsDefault
0How many workouts the archive lists, newest first. 0 lists them all.
Shown when Layout is "Workout Archive"
Display
Date FormatDefault
l, F j, YHow the workout day is written, in PHP date format.
Date IconDefault
bi-calendar3Icon in front of the workout day.
Shown when Layout is "Workout Date"
Column ClassesDefault
col-lg-6Class names on the column holding the workout.
Shown when Layout is "Workout"
Workout Name Element
Make the workout name the page heading on the workout's own page.
Shown when Layout is "Workout"
Rounds Line Inline StyleDefault
color: rgba(var(--cnvs-themecolor-rgb), 0.65);Styling on the rounds line under the workout name.
Shown when Layout is "Workout"
Load Note Inline StyleDefault
color: rgba(245,240,232,0.45); font-weight: 500; font-size: 0.875rem;Styling on the bracketed load after a movement, such as (53 / 35 lb).
Shown when Layout is "Workout"
Movement MarkerDefault
-Character in front of each movement.
Shown when Layout is "Workout"
Scaling LabelDefault
Scaling OptionsHeading over the scaling buttons.
Shown when Layout is "Workout"
Time Cap LabelDefault
Time CapLabel over the time cap.
Shown when Layout is "Workout"
Expected Time LabelDefault
Est. TimeLabel over the expected finishing time.
Shown when Layout is "Workout"
Category LabelDefault
CategoryLabel over the workout category.
Time UnitDefault
minWord after the time cap and the expected time.
Shown when Layout is "Workout"
Results Column HeadingsDefault
#, Athlete, Time, RxThe four results column headings, comma separated: position, athlete, time, scaling.
Shown when Layout is "Whiteboard Results"
First Column Inline StyleDefault
width: 56px;Styling on the first column heading, which sets the column width.
Shown when Layout is "Whiteboard Results"
Archive Column HeadingsDefault
Date, Workout, Format, CategoryThe four archive column headings, comma separated.
Shown when Layout is "Workout Archive"
Date Column Inline StyleDefaultEmpty
Styling on the date column heading, which can set the column width.
Shown when Layout is "Workout Archive"
Category Column ClassesDefault
d-none d-md-table-cellClasses on the category column. The default hides it on phones, where four columns do not fit.
Shown when Layout is "Workout Archive"


