Can I use the "number" and "title" fields from my CMS Collection in Webflow to create a heading that says "Session $number, '$title'"?
Published on
September 22, 2023
Yes, you can use the "number" and "title" fields from your CMS Collection in Webflow to create a heading that says "Session $number, '$title'". Here's how you can do it:
- Ensure that you have set up a Collection and added the necessary fields, including "number" and "title".
- Open your Webflow project and navigate to the page where you want to display your heading.
- Drag and drop a Dynamic List onto the page. This will allow you to display the content from your CMS Collection.
- Connect the Dynamic List to your Collection by selecting the appropriate Collection in the settings panel.
- Inside the Dynamic List, add a Heading element.
- Click on the Dynamic Binding icon next to the text editor for the Heading.
- In the Dynamic Binding panel that appears, select the "number" field from your Collection.
- Next, type "Session " and add a space after it.
- Click on the "+" icon in the Dynamic Binding panel and select the "title" field from your Collection.
- Finally, add ", " and wrap the "title" field in single quotes using the Dynamic Binding panel.
- Preview your website to see the heading dynamically display the content from your CMS Collection.
By following these steps, you can create a heading that says "Session $number, '$title'" using the "number" and "title" fields from your CMS Collection in Webflow.
Additional Questions:
- How do I create a dynamic heading in Webflow?
- What are the steps to connect a Dynamic List to a CMS Collection in Webflow?
- Can I customize the formatting of the dynamic content in Webflow?