CMS (Formerly Content Manager): Adding and Setting Up Rich Content Fields

16 min read
Create large blocks of content associated with your collection items that you can format from within the CMS (Content Management System). You can mix formatted text with media, files, HTML code, social media posts, Wix business solutions and more features. When you add and connect the rich content element on your site, it maintains the same formatting your set from within the collection fields themselves. 


Adding the rich content field type in your collection

Select the "Rich Content" field type when you create a new field in your collection. You can also edit existing fields to make them rich content fields. After creating a rich content field, add and format your content in the field for each item in your collection. 

To add a rich content field:

  1. Go to CMS in your site's dashboard. Alternatively, you can click CMS in your Editor, then click Your Collections.
  2. Click the relevant collection.
  3. Click Manage Fields
  4. Click + Add Field
  5. Select Rich content and click Choose Field Type
  6. Enter a name in the Field name field.
  7. (Velo only) Update the Field ID, which is used in the site's code. You cannot update this ID later. 
  8. (Optional) Enter Help text if you want a tooltip to appear in your collection next to the field title.
  9. Click Save.
  1. Click the rich content field for the relevant item in your collection.
  1. Enter the text you want to use for the item and choose from the available formatting options at the top. You can also add images, videos, attachments and more features from the icons at the bottom. 

Adding the rich content element to your page

Add the rich content element to your site. Then connect it to a dataset that binds to your collection. You can now attach the rich content element to a repeater to show dynamic content for multiple items at time. 
Wix Editor
Editor X
Studio Editor
  1. Go to your Editor.
  2. Go to the page or section in which you want to the rich content element. 
  3. Click CMS  on the left side of the Editor. 
  4. Click Add Content Elements
  5. Click Rich content
  6. Click the Connect to CMS icon on the rich content element.
  7. Click the Choose a dataset drop-down and select an existing dataset that connects to your collection. Alternatively, click Create Dataset, then choose the collection you want to connect, give the dataset a name and click Create.
  8. Click the Connect content to drop-down and select the rich content field you created.  
  9. Click Settings on the Rich Content Viewer element. 
  1. Choose how you want to show long content:
    • Show everything: All the content from the connected rich content fields display in the viewer. 
    • Trim: Only show part of long content in the viewer:
      1. Choose how to trim the content that appears in the viewer:
        • Paragraphs: Choose the number of paragraphs shown. Enable the Show plugin content if you want to show content such as images, videos and tables in the viewer. 
        • Words: Choose the number of words shown. 
      2. Click the Show More button toggle to choose how the content can be expanded:
        1. Enabled: If the content is trimmed, visitors can click a "Show More" link to expand the displayed content. Enter the text to use in the Show More/Less text fields. 
        2. Disabled: The text is trimmed and ends with "..." if all the content doesn't fit in the viewer. Visitors cannot click to expand the displayed content.  
  1. Click the Layout icon  on the Rich Content Viewer element and set the top, bottom and side padding. 
  2. Click the Design icon  to customize the background and "Show More" button colors, the border, the corners, and override the text formatting.  
Tip:
On dynamic item pages, click the Preview drop-down and select other items to see how the rich content field will look on each version of the page.

Formatting options and features in the rich content editor

When editing your rich content field from your collection, choose from the options at the top to format your text. You can click icons at the bottom to add features like tables, HTML code, and social media posts.

Click below to learn more about the available options in the rich content editor. 

Did this help?

|