Can the infinite loop of scrolling images on the Fortnight website be recreated with CMS functionality in Webflow?

Published on
September 22, 2023

Yes, the infinite loop of scrolling images on the Fortnight website can be recreated with CMS functionality in Webflow. Here's how you can achieve it:

  1. Create a new Collection: First, you need to create a new Collection in your Webflow project. Go to the "CMS" tab from the dashboard and click on "Add Collection." Give your Collection a name, such as "Images" or "Carousel."

  2. Add fields to the Collection: In the Collection settings, click on "Add Field" to add the necessary fields for your images. For example, you can add a field for the image itself and another field for the caption or description.

  3. Design the Carousel: Now, go to your desired page and add a new Section where you want the carousel to appear. Inside the Section, add a new Collection List element by dragging and dropping it from the Elements panel on the left.

  4. Connect the Collection List to your Collection: With the Collection List selected, go to the right-hand panel and choose your "Images" or "Carousel" Collection from the dropdown menu. This will connect the Collection List to your Collection.

  5. Design the Collection List Item: Inside the Collection List, add a new Div block as a sibling to each Collection Item by clicking the plus icon. With the Div block selected, go to the right-hand panel and choose the Collection fields you want to display, such as the image and caption.

  6. CSS Styling: To achieve the infinite loop effect, you'll need to add some custom CSS styling. Give your Collection List a class name in the right-hand panel, and then go to the "Custom Code" section of your project settings.

  7. Custom CSS code: In the Custom Code section, add the following CSS code to create the infinite loop effect:

.carousel {  display: flex;  overflow: hidden;}.carousel .w-dyn-items {  white-space: nowrap;  animation: scroll 10s linear infinite;}.carousel .w-dyn-item {  display: inline;}@keyframes scroll {  0% {    transform: translateX(-100%);  }  100% {    transform: translateX(0%);  }}
  1. Preview and publish: Preview your website to see the infinite loop effect in action. If everything looks good, publish your site to make it live.

By following these steps, you can recreate the infinite loop of scrolling images with CMS functionality in Webflow. It allows you to easily manage and update the images in your CMS Collection, providing a seamless experience for both content creators and site visitors.

Additional questions:

  1. How do I connect a Collection List to a Collection in Webflow?
  2. What are the steps to create a new Collection in Webflow?
  3. Can I add custom CSS code to achieve specific styling effects in Webflow?