Marquee Scroll Item
What It Does
The marquee animation creates a continuously scrolling strip of logos (or any content) that:
- Scrolls automatically from right to left
- Speeds up or slows down based on your scroll speed
- Reverses direction when you scroll up - if you scroll down, it moves right to left; if you scroll up, it moves left to right
- Returns to normal speed when you stop scrolling
- Pauses on hover (optional)
How to Set It Up
Required Structure:
Your marquee section needs these elements in this order:
- A wrapper element
- Multiple child elements (at least 4-5 copies) with the class Marquee Scroll Item
- Each Marquee Scroll Item contains your logos or content
Step-by-Step Setup
- Select your marquee wrapper element
- Add your first logo strip element as a child, and give it its CSS properties
- Add the class Marquee Scroll Item to this element
- Duplicate this element 4-5 times (all siblings inside the wrapper)
- Make sure all duplicates have identical content
- Add the class Marquee Hover Stop to the wrapper if you want it to stop on hover (optional)
Why Multiple Copies?
Because the animation can move in either direction (left or right depending on scroll), you need multiple copies of your logo strip to ensure smooth looping. And while the animation may work with 2 or 3 copies on Webflow's designer, on bigger screen sizes you would notice the gap caused by the lack of elements. Without enough copies, you'll see empty space to the sides on large screens, or when the animation reverses direction.
Recommended: Use at least 4-5 identical copies of your Marquee Scroll Item.
You can see this issue on the logo strip where the elements that are inside don't make the marquee long enough. With two copies it fills the width of standard screen sizes, but on larger screens like this you would see empty spaces to the left and right.
However, with 5 copies the marquee becomes long enough to fill even large screens.
Adjusting Speed
If you want to change the marquee speed, you'll need to modify the duration value in the custom code. The value is measured in seconds (eg. 50 gives it a duration of 50 seconds), and you need to look for this line:
Pause on hover
If you want the Marquee to stop scrolling when you hover an element, you just need to add the class Marquee Hover Stop on the Marquee's wrapper, or direct container.
This Marquee will function normally without stopping:
And this one will stop moving when you hover over any element inside of it: