Site Builder: Text Styles and Design Tokens
Edit heading, text and button wording right on the canvas with a double-click or the Enter and F2 keys, apply consistent text styles from one picker, and set theme presets, a font pairing and the site logo.
Instead of setting a font size and weight on every heading, apply a named text style. Styles are linked to your site's design tokens, so changing the theme restyles every heading and paragraph that uses them.
Edit text on the canvas
Headings, text paragraphs and button labels are edited in place, directly on the page. You can start editing with the mouse or with the keyboard.
Open the builder
Go to Hosting, open Hosted Apps, open your site and click Edit in Builder.
Start editing
Either double-click the heading, text or button, or click it once to select it and press Enter or F2. A caret appears inside the element and you can type straight away. If the element sits inside a card or other container, the first click selects the container and a second click selects the element itself. Enter and F2 only work once the element itself is selected.
Finish editing
Click anywhere outside the element to keep your changes. Press Escape instead to cancel and put back the wording the element had before you started editing. For a heading or a button label you can also press Enter to finish.
What Enter does while you are editing depends on the element:
| Element | Enter while editing |
|---|---|
| Heading | Finishes editing. A heading is a single line, so it never gets a line break. |
| Button | Finishes editing. A button label is a single line too. |
| Text | Inserts a line break so you can write several lines in one paragraph. Click outside the text to finish. |
Double-click works the same way whether the element is placed freely directly on a section or sits inside a card or container.
Find "Edit text" in the shortcut list and the command palette
The same action is available from two places in the builder:
- Keyboard shortcuts: press ? (Shift and the slash key) with the canvas focused to open the Keyboard shortcuts dialog. Edit text is listed in the Canvas group, with the keys shown as ENTER and F2. Click Close when you are done.
- Command palette: with the canvas focused, press Ctrl+K (Cmd+K on a Mac) to open it, then type in Search commands…. Edit text appears with ENTER beside it. Pick it, or press Enter on the highlighted row, to start editing the selected element. When the action cannot run, the row is greyed out and does nothing. If nothing matches, the palette says "No matching commands".
When Enter or F2 does nothing
Edit text only runs when all of these are true:
- Exactly one element is selected, and it is a heading, text or button. Images, shapes, containers and the other element types are not edited this way.
- The element is not locked. Unlock it first.
- Keyboard focus is on the canvas, not in a text field. Typing in a panel or toolbar field (for example Search layers or a size box) leaves Enter and F2 for that field. Click the element on the canvas to give focus back to it.
- You are not in Preview. Canvas shortcuts are switched off there; click Exit Preview first.
If you are already editing the element, Enter does what the table above says. It does not start a second edit.
Apply a text style
Open the builder
Go to Hosting, open Hosted Apps, open your site and click Edit in Builder.
Select a heading or text element
Click it on the canvas. Text styles are chosen in the Pro inspector, so switch Pro on in the left rail if the docked inspector is not showing.
Open Text style
In the Design tab, open the Text group and click the Text style button. It shows the current style name, Custom if you hand-set typography, or the label "Text style" when nothing is applied.
Choose a style
Pick one: Display, Heading 1, Heading 2, Heading 3, Heading 4, Body large, Body, Small, Caption, Eyebrow or Button label. Each option previews itself in its own typography. Choose No style to clear it.
How styles behave
- Display and Heading 1 render as a top-level heading, Heading 2 to Heading 4 as the matching heading level, and the other styles as paragraphs. This keeps your page outline meaningful for search engines and screen readers.
- Applying a style clears any hand-set font size, weight, family, italic or line height on that element, so the style takes full effect.
- Changing a font size, weight, family, style or line height by hand afterwards turns the picker label into Custom. Pick a style again to return to the shared look.
- Styles reference your design tokens rather than copying values. If you change fonts or switch the theme, every element using a style updates on the canvas and on the published site.
- Documents that never use a text style publish exactly as before.
Design tokens: presets, custom and brand
Open More in the builder toolbar and choose Design Tokens. The panel has three tabs and a Close button. There is no Apply button: every change you make takes effect on the canvas immediately.
| Tab | What you can do |
|---|---|
| Presets | Choose a ready-made theme: Editorial Noir, Warm Luxe, Tech Precision, SaaS Clean or Bold Brutal. Each shows a Dark or Light tone label and its display and body font pairing. Clicking a preset applies it at once. |
| Custom | Edit palette swatches by role and shade, edit the font family for each typography variant, and set the Section spacing default (see Section spacing and Apply to all sections). |
| Brand | Pick a font pairing and set the site logo with its alt text. |
Choosing a preset swaps colours and fonts but keeps the logo you set on the Brand tab.
The panel is a dialog named Design Tokens. When it opens, keyboard focus moves into it. Press Escape, or click the close button (✕, named Close), to close it. If you opened it from Site styles (see Site styles panel), Escape closes only this dialog and leaves the Site styles panel open behind it.
Set a font pairing
Open the Brand tab
In Design Tokens, click Brand.
Choose a pairing
Under Font pairings ("Pick a display and body font together. One click sets both.") click a card. Each card previews the display font large with the body font and the sample line below it. One click sets both fonts, and the active card is marked Current.
Check the result
Headings and text that use a text style update on the canvas straight away. If you later change either font on the Custom tab so it no longer matches a pairing, no card is marked and the tab shows "Custom fonts: your display and body fonts do not match a pairing."
Set the site logo
Choose the logo
Under Logo, click Choose logo. Before a logo is set the preview box reads "No logo yet". The picker opens your asset library.
Add alt text
Once a logo is set, a Logo alt text (required) field appears. If it is empty it turns red and shows "Add alt text so screen readers can announce your logo." Type a short description of the logo.
Place it on the page
The logo is saved with the site. Place it with the Logo element in the Media palette; it follows any change you make on this tab.
Replace or remove it
Choose logo becomes Replace logo once a logo exists. Click Remove logo to clear it.
Choose logo is greyed out
When the builder has no asset library connected, Choose logo is disabled and the tab shows "Connect an asset library to add a logo."
Section spacing and Apply to all sections
On the Custom tab, Section spacing is a dropdown with the hint "Default padding for sections that have none of their own. A section's own padding always wins." Its options are Default (clears the setting) and a numbered step with its pixel size.
Section spacing is for email layouts only
Today the setting is used only as the default padding of email blocks (header, hero, callout and footer) that have no padding of their own. Web page sections are fixed-height bands without a padding value, so changing Section spacing does not change how a web page or a published hosted site looks.
Apply to all sections copies one section's look to the others in a single step:
Select the section
Click the section on the canvas so the right-hand inspector shows its Section group. The inspector is hidden in the Easy editor; switch on Pro editor from More if the builder offers it and you do not see the inspector.
Click Apply to all sections
The button copies this section's background (colour, image, image fit and gradient) and, for email header, hero, callout and footer blocks, its padding, onto every other section of the page. The tooltip reads "Copy this section's background and padding to every other section on this page (site header and footer are skipped). One undo step."
The site header and footer and any shared (global) section are skipped, both as sources and as targets, so the change never spreads to other pages. The button is disabled when the page has no other section to restyle. One Undo reverses the whole copy.
Site styles panel
The Site styles button on the builder's left rail opens a panel for the look of the whole site. Click the button again, click Close panel or press Escape to close it; focus returns to the rail button. Changes apply to the canvas immediately.
| Section | Controls |
|---|---|
| Top | Style presets… opens Design Tokens on the Presets tab. |
| Colors | Under Theme colors, one compact row per theme colour: a swatch and its name with the hex value shown as text. Click the swatch to open the colour picker. Click the name to open the row, which reveals a hex field and an eyedropper (Pick a color from the screen) under it. Click the name again to close it, or press Escape in the hex field (that reverts your typing, closes the row and does not close the panel). A theme colour that is also a brand colour is labelled with its role, for example Color 1 · Primary or Color 2 · Secondary / Accent, and changing it updates that brand colour too. Brand colors appears only for a brand colour (Primary, Secondary or Accent) that is not already one of the theme colours. Elements that follow the site palette update when you change one. All palette colors… (a text link under the colours) opens Design Tokens on the Custom tab. In a hex field, Escape reverts your typing and does not close the panel. |
| Fonts | Font pairs are cards of a heading and body pairing; the active one is pressed and marked Current. Under In use the panel shows Headings, Body text and Code with their font names and a sample line. Change fonts… opens Design Tokens on the Brand tab. |
| Text styles | One row per style with its size and weight. Edit expands Font, Size (rem), Weight and Line height; Done collapses it. Styles that follow another style show "Follows" with that style's name and have no Edit button. Reset to theme default appears once you have changed a style. |
In the number boxes (Size (rem) and Line height) the value is applied when you press Enter or leave the box, and Escape puts the old value back.
Troubleshooting
Why does my heading ignore the style or look different on the published site?
- The label reads Custom: a hand-set size or font is overriding the style. Re-apply the style from Text style.
- Your edits are not published yet. Click Publish.
- You changed a preset, font pairing or custom value in Design Tokens after styling the text. Those changes apply immediately and restyle every element that uses a text style, so check the Brand and Custom tabs for the fonts you expect, then Publish.
- The element is not a heading or text element; the Text style button only appears for those.
Why doesn't Enter or double-click start editing my text?
- The element is an image, shape or container. Only headings, text and buttons can be edited this way. For Enter and F2, exactly one element must also be selected.
- The element is locked. Unlock it, then try again.
- For Enter and F2 only: focus is inside a panel or toolbar field, so the key goes to that field. Click the element on the canvas first, then press Enter or F2.
- You are in Preview. Double-click, Enter and F2 are all switched off there. Click Exit Preview first, then try again.
- The double-click was too slow. Your computer's double-click speed setting decides what counts as a double-click (the builder also accepts two clicks on the same element within about half a second). Double-click again, or use Enter or F2.
- The row you chose in the command palette is greyed out. Select a single unlocked heading, text or button first.
Section spacing changed but my web page looks the same
That is expected. Section spacing applies only to email blocks without their own padding; web page sections do not use it.
Apply to all sections is disabled, or the Section controls are missing
- The page has no other page-owned section: the site header, footer and shared sections are not targets.
- The selected section is the site header or footer, which are never a source.
- The right-hand inspector is hidden in the Easy editor. Switch on Pro editor from More if the builder offers it.