91福利

Skip to main content Skip to navigation

Format text

The information below applies to both the Components Editor and the old visual editor.

In this article:

Toolbar

At the top of the editor is a toolbar containing common tools to format text:

The Components Editor formatting toolbar

Use the following buttons in the toolbar to format text:

Button Action Keyboard shortcut (Windows) Keyboard shortcut (Mac)
Alignment    
'Bold' icon Bold Ctrl+B Cmd+B
'Italics' icon Italics Ctrl+I Cmd+I
'Strikethrough' icon Strikethrough    
'Subscript' icon Subscript    
'Superscript' icon Superscript    
'Bulleted list' icon Bulleted list*    
'Numbered list' icon Numbered list*    
'Block quote' icon Block quote    
'Increase indent' icon Increase indent    
'Decrease indent' icon Decrease indent    
Add/edit link    
Remove link    

*These options are selectable from a drop-down list in the Components Editor.

Headings

Place the cursor in a line of text you want to convert to a heading, then choose a heading style from the drop-down list in the toolbar:

The text style drop-down list in the Components Editor

Heading levels should reflect the hierarchy of information in your page. For example, Heading 2 for the main sections, Heading 3 for sub-headings within those sections, and so on. The page title is automatically set to Heading 1, hence the options in the drop-down list start at Heading 2.

A sensible heading hierarchy helps readers to scan your page and search engines to index the page.

Underline

There is no formatting option to underline text in SiteBuilder, which is deliberate. In web pages, underline is the standard convention to denote hyperlinks. Underlined text that does not act as a link can be confusing and frustrating for visitors.

To emphasise words or phrases, use bold instead. Italics are typically used for the titles of publications and works of art.

Font & colour

By default, all text in the ID7 common website template uses the Neue Haas Grotesk typeface 鈥� including site titles, headings, sub-headings and body text. Heading colours are derived automatically from your site's colour palette. Body text is black by default.

It's not possible to apply other colours or fonts, except by using custom formatting.

Code blocks

Choose Preformatted from the drop-down list to format a code snippet 鈥� for example:

if (is a code snippet) {
use a <pre> tag
} else {
paragraphs are fine
}

Choose Code from the drop-down to display text as code on the same line as regular text.

Special characters

To add non-standard characters to your page, such as mathematical symbols (鈭�, 鈭�) or uncommon currencies (楼, 鈧�):

  1. Place your cursor where you want to add the special character.

  2. Select Text > Symbol:

    The 'Text' menu, with the 'Symbol' option highlighted

  3. In the Special character pop-up, select the special character you want to add:

    The 'Symbol' pop-up

  4. The selected symbol appears on your page.

Custom formatting

  1. Select Customisation > Styled text (CSS class):

    The 'Customisation' menu in the Components Editor, with the 'Styled text (CSS class)' option highlighted

  2. In the Formatted text pop-up, enter the names of custom classes you want to apply to your text:

    The 'Formatted text' pop-up

Note: Custom classes must be defined using your own CSS before they can be applied to text. You can also apply existing SiteBuilder classes, for example to make a paragraph stand out without breaking page structure or affecting your content's accessibility.

Examples

<p class="handwritten">This text has had the "handwritten" custom style applied to change its colour and font.</p>

appears as:

This text has had the "handwritten" custom style applied to change its colour and font.

<p class="h4">This paragraph has had the "h4" default style applied, to make it look like Heading 4.</p>

appears as:

This paragraph has had the "h4" default style applied, to make it look like Heading 4.

Related articles

 

Let us know you agree to cookies