Section

Use the Paragraph element to add, style, and format inline text.

When you desire to include extended blocks of text to your task, you will either opt to use a Section element or a rich text element. In this place, we’ll discuss all the essentials about Sections.

Within this teaching session:
  1. Incorporate Sections
  2. Design Sections
  3. Modify spacing between Sections
  4. Format and customize inline text

Include sections

Section icon thumbnail

You can insert a Section element from the Elements panel (shortcut: A). Typically, the Section element comprises a block of placeholder text. You can double-click, pick, and replace the text inside either by typing or pasting your content. You can also access text-edit mode by choosing the element and hitting enter.

A section element filled with lorem ipsum text.

Including multiple Sections

You might need to insert multiple Sections to a part on your page. Although you can achieve that by hitting Enter between sections within one section element, it’s a preferred practice to employ a distinct Section element for each Section. This grants you more command over spacing. With the rich text element, you can easily insert multiple sections by hitting enter.

Design sections

There exist numerous ways to design a section. You can establish a distinct class and reuse this class for likewise styled sections. You might style all section elements simultaneously and stop there. Alternatively, you may want to define styles on the Body and enable sections to inherit those styles.  

Designing with a class

You can design a section element by choosing the section and implementing your style modifications in the Styles Panel. These alterations will be saved under a class name. You can implement this class to other sections as well:

  1. Choose the section you wish to design
  2. Tap into the selector field
  3. Enter the same class name
  4. Hit Enter
  5. Design the section
The selector field showcases an active class named Bigger section

Designing the All Sections tag

The most suitable approach to initialized a project is to style the All Sections tag, which encompasses the default designs for all sections in your project:

  1. Select a section
  2. Tap into the selector field
  3. Select All Sections
  4. Personalize your styles
The selector field is clicked showcasing a dropdown menu containing sections New class, HTML tag, and existing classes.

Designing text on the Body tag

Nonetheless, you may desire to specify the typography styles, such as font family and font size, for all your text elements, including sections. To define default typography styles on the entire project, you’ll aim to adjust the Body (All Pages) tag:

  1. Select the Body element
  2. Tap into the Selector field
  3. Select Body (All Pages)
  4. Personalize the typography styles
Step one on the left, select the body element from the navigator. Step two on the right, select the Body (all pages) class under the HTML tag section in the Selector field dropdown menu. These two elements are highlighted.

Modify spacing between sections

Once you have distinct section elements, you can tweak spacing between those elements using the margin property:

  1. Select a section
  2. Tap into the Selector field
  3. Select All Sections
  4. Incorporate a bottom margin
Step one on the left, select the All sections class under the HTML Tag. Step two on the right, add bottom margin to the section in the Spacing section of the style panel.

And when you need to adapt the spacing for only a few sections, you can employ a class. Now, any design alterations made on this class will apply to Sections that have this same class.

Format and design inline text

Occasionally, you may wish to design a part of the text within the section element. For instance, you might desire to italicize a word or add a link to a phrase or even underline a sentence. You can achieve that using the text formatting bar that emerges when you double-click a section element.

The word iterdum is highlighted within the section text. A text formatting bar is hovering above the word with the 5 text formatting options, bold, italic, insert link, wrap with span, and clear formatting.

Discover more about inline text formatting.

Ewan Mak
Latest posts by Ewan Mak (see all)