Webflow sync, pageviews & more.
NEW

How can I include list items in Webflow collections? How can I change the pictures within the Lightbox via Webflow collections? How can I include maps and/or embedded code on Webflow CMS pages? How do SEO and OG settings work for Webflow CMS pages?

TL;DR
  • Simulate dynamic lists using multi-reference or rich text fields, or custom code to parse plain text.
  • Enable CMS-powered Lightboxes using Finsweet’s CMS Library or Link Blocks with custom JavaScript.
  • Embed dynamic maps and code by referencing CMS fields inside Webflow Embed components.
  • Configure SEO and Open Graph settings dynamically by inserting CMS fields into the template page’s metadata.

To enhance dynamic pages using Webflow CMS, you can include list items, change Lightbox images, embed maps or code, and optimize SEO and Open Graph settings. Here's how to do each:

1. Include List Items in Webflow Collections

  • Webflow CMS doesn’t support native multi-item list fields. Instead, you can simulate lists using:
  • Multi-reference fields: Create a separate collection (e.g., "Tags", "Ingredients") and relate multiple items to a single CMS item.
  • Rich Text fields: Write items as bullet points within the field using the Rich Text editor.
  • Plain Text workarounds: Store list items separated by a special character (like a comma), then use custom code to split and display them—though this requires custom JavaScript.

2. Change Lightbox Pictures via Webflow Collections

  • Lightbox components don’t natively support images from CMS directly. To work around this:
  • Use a third-party plugin like Finsweet’s CMS Library to dynamically bind CMS images to a lightbox gallery.
  • Alternatively:
    • Use the CMS to populate images into a Collection List.
    • Add Link Blocks styled like a lightbox trigger.
    • Use custom JavaScript to activate a lightbox behavior for those images.

3. Include Maps and Embedded Code on CMS Pages

  • Maps:

  • Use Embed elements and add iframe code from Google Maps.

  • To make it dynamic: add a CMS field like Address, then reference that field in the embed code using Add Field inside the Embed element.

  • Custom Embed Code:

  • Use the Embed component on your CMS Template Page.

  • In the embed code, click “Add Field” to inject dynamic data (e.g., YouTube ID from the CMS).

  • Example: insert YouTube embed using a CMS field for the video URL or ID.

4. SEO and Open Graph (OG) Settings for CMS Pages

  • Go to CMS Collection Settings > Template Page.

  • In the Page Settings (gear icon) for the Template Page:

  • SEO Title & Meta Description: Use CMS fields (e.g., Name, Summary) by clicking “+ Add Field” in the SEO input.

  • Open Graph:

    • Title and Description: Use CMS fields the same way.
    • Image: Use an Image Field from the CMS item.
  • Each CMS item will generate a unique meta title, description, and OG preview based on its content.

Summary

To fully utilize Webflow CMS: use collection lists and custom fields to simulate dynamic list items, implement custom or third-party solutions for CMS-powered Lightboxes, use Embed code blocks for maps and widgets, and set SEO/OG meta content dynamically using fields in your CMS collection template settings.

Rate this answer

Other Webflow Questions