Can Webflow's CMS Collections be used to display alternating full-screen and side-by-side images, with the ability to control the layout per item and per page?

Published on
September 22, 2023

Yes, Webflow's CMS Collections can be used to display alternating full-screen and side-by-side images with the ability to control the layout per item and per page. Here's how you can achieve this:

  1. Set up a CMS Collection: Create a new CMS Collection in your Webflow project and define the necessary fields for your images, such as image URL, title, description, etc.

  2. Design your Collection template: In the Collection template, design the layout for your images. You can use Webflow's built-in layout tools and design elements to create the desired layout. This is where you can control the layout per item.

  3. Add Collection List and Collection Item: Insert a Collection List element into the appropriate page where you want to display the alternating images. Inside the Collection List, add a Collection Item element.

  4. Bind the CMS fields: For each element within the Collection Item, you need to bind the CMS fields to display the corresponding image, title, description, etc. Webflow allows you to easily connect the fields from the CMS Collection to the elements on your page.

  5. Apply different layouts: To achieve alternating full-screen and side-by-side images, you can use conditional visibility settings and custom CSS classes. You can apply different classes to the Collection Item elements based on the conditions you set.

  • For full-screen images: Apply a CSS class to make the image full-screen. You can either use a predefined Webflow class or create a custom class and style it accordingly.
  • For side-by-side images: Similarly, apply a different CSS class to make the images display side-by-side. Again, you can use a prebuilt class or create a custom class with the desired styling.
  1. Configure layout per page: If you want to control the layout per page, you can create different Collection templates for each page and add different CSS classes to the Collection Item elements within each template.

  2. Style the layout: Use Webflow's design tools and CSS to further style the layout of your images, including spacing, alignment, captions, etc.

By following these steps, you can effectively use Webflow's CMS Collections to display alternating full-screen and side-by-side images while having the flexibility to control the layout per item and per page.

Additional questions:

  1. Can Webflow handle dynamic content with its CMS Collections?
  2. How can I create a filterable portfolio using Webflow's CMS?
  3. Does Webflow support e-commerce functionality?