Multiple Line CMS Webflow: Preserve Line Breaks

Tutorial
March 20, 2023
3 min
#webflowtuto with the line option buttons for plain text CMS webflow.
Key points

If you are using Webflow's CMS, you have probably encountered the “plain text” field. This field allows you to insert short text (without images, videos, links, etc.). In this Webflow CMS field, there are two options:

  1. Single Line (the most commonly used)
  2. Multiple Line

The single-line text field, as its name suggests, allows you to write text only on one line. However, if you wish to write on multiple lines (by inserting line breaks), you can check the “Multiple Line” option. This is a very handy option to avoid using “rich text.” The issue arises because even if you check this option and insert line breaks in this field, the line breaks are not respected on your Webflow pages.

In our Webflow tutorial, we will see how to display the line breaks in the “Plain Text: Multiple Line” text field of the CMS.

Step 1: Check the Multiple Line option in your Webflow CMS collection

The first step is to ensure that you have a plain text field with the multiple line option in your Webflow collection. To enable this option, go to your collection settings, select your “Plain Text” field, and check “Multiple line (for long text)” under “Text Field Type.”

Multiple line option in Webflow CMS collection

Step 2: Fill in the Plain Text Multiple Line field with line breaks

Of course, if you want your line breaks to appear on your page, you need to fill in the field while adding line breaks. For example, in our Webflow collection:

Example of filled multiple line plain text field with line breaks

Step 3: Connect your dynamic field in your page

Now that you have your collection, you need to connect its various fields to your page. We will connect our plain text: multiple line field. However, if you only connect this field, you will notice that the line breaks are not preserved.

Connect plain text field in Webflow CMS

Step 4: Modify the Breaking style in Typography

To establish line breaks for your Webflow CMS collection field, you will need to apply a special style in the typography section (in the style manager). In typography, click on “More type options.” New options will appear. Under “breaking,” you need to select the option “Break Spaces.” From this point forward, your line breaks will be preserved.

Typography style Break Spaces Multiple Line Webflow

Now you know how to effectively use the Plain Text: Multiple Line field in Webflow's CMS.

For more Webflow tutorials, you can follow our YouTube channel or read our other blog articles on the subject.

Thibaut Legrand
Thibaut Legrand
Technical Solutions Architect & Webflow Expert

Suggested articles

Webflow Localization, Credial's Use Case
Documentation
Webflow

Webflow Localization: Practical Guide & Credial's Use Case

Webflow Localization: Practical Guide & Credial's Use Case
Visuel showcasing digidop.fr switching to digidop.com
News
Digidop

Digidop.fr is now Digidop.com

Digidop.fr is now Digidop.com
Photo of the Digidop team with the Digidop Logo 2024
News
Digidop

A Look Back at an Exceptional 2024 and Vision 2025

A Look Back at an Exceptional 2024 and Vision 2025

Want to turn your website into your most valuable asset?

Contact us today