Please note, this is a STATIC archive of website help.webflow.com from December 2024, cach3.com does not collect or store any user information, there is no "phishing" involved.

Using Dynamic Lists on your website

Updated 
May 26, 2016

Now that you’ve created your collections, and have added individual items to those collections, you can begin to display them on your website.

Adding dynamic content to your site will happen in one of two ways - either by a Dynamic List, or through a Dynamic Template Page. Content for each will be populated from the same collection, but can be displayed on your site in different ways.

Dynamic List

A dynamic list allows you to add content on non-dynamic template pages (like your Home Page, for example).

Step 1: Drag in the Dynamic List Widget

The first thing to do is drag in the Dynamic list to the location on the page you want it to exist. You can do this by navigating to the page you would like to add the collection, and drag in the Dynamic List element from the add panel.

You can use Dynamic Lists on all pages of your site.

Step 2: Assign the Dynamic List to a Collection

Once you've dropped in the Dynamic List element, you will need to assign the list to an existing collection (if you have not created a collection yet, learn how to here) from the dropdown list.

Step 3: Adjust the Dynamic List Settings

Once you've selected the collection to pull from, you will have the ability to select the UI State and Layout, as well as filter and sort the items as you wish within the Settings Panel.

UI State

The UI State options are Items or Empty. Items is the defaulted option, and will show the items that you have within the collection, whereas the Empty option will not show these items and give the designer the opportunity to design for a circumstance if/when there is no data to be displayed for this list.

Layout

The default layout option has each item cover the full width of the parent element. You can change this to show the items in different layouts, such as 2 columns, 3 columns, 4 columns and 6 columns.

Dynamic lists will respond automatically to different device sizes.

You can also filter, sort and limit the items in this list, which we’ll cover after we add the content in.

Step 4: Designing your content within a dynamic list

This step is the most important - and the most fun! Now that you’ve established what content is populating the list, you may begin to add, bind and style elements within them.

For this example we’ll be using a standard blog layout, already populated with content we’ve created in our Blog Post collection.

You can begin to add regular elements as you would to any other portion of your website - simply drag, and drop. Once dropped in to your list, notice that the element will immediately populate for each of the items in the list.

Content that is not binded to your own data is referred to as Static Content.

Just as you would for any other elements on the page, you can also add classes to any elements within a dynamic list. This will help you style each of the elements in a near unlimited amount of ways.

Now it’s time for the magic. Now it’s time to add in your content, which you can do in one of two ways - The first is using static content, like an image from your asset library or content that you type right in.

The more common way of adding content to Dynamic Lists, is by utilizing the content you’ve already created in the collection itself. This is done through a process called binding. In order to use content from your collection, you need to first bind each of the elements individually.

Webflow will only show fields that match the element type (like images or text)

To bind an item you may either double-click it, or click it once and navigate to the Settings Panel. You will be given an option to select from a dropdown the field you wish to use.

Notice that with each element, we are given a dropdown of content to select from - Webflow is smart enough to recognize the type of content (like text or an image), and give you options that match these parameters.

Step 5: Filtering Items Within a Dynamic List

You can filter items within your list in multiple ways. We cover this in more detail in the next lesson.

More articles on 
Designing Dynamic Content
Tutorials on 
Designing Dynamic Content
Words to know

No items found.