Create an Infinite Scrolling Logo Section [Divi Tutorial]

aniaromanska

Written by Ania Romańska

Published on . Last edited on .

Infinite scrolling logo section in Divi

TL;DR

A Divi logo marquee needs one section with two identical rows of Image modules, CSS that lines them up horizontally, and a CSS animation that moves each row by translateX(-100%).

In Divi 5, set the column and the section to Design → Layout → Layout Direction: Row (column Horizontal Gap 30px, section Horizontal Gap 0px), no code needed; or use display: flex; flex-direction: row; in CSS, which works in Divi 4 and Divi 5.

The row needs Width and Max Width max-content and Row Size: Custom with Shrink 0 (Design → Sizing in Divi 5), or width: max-content; max-width: max-content; flex-shrink: 0; in CSS, so it can be wider than the screen.

The section needs column-gap: 0 and Horizontal and Vertical Overflow set to Hidden (Advanced → Visibility) for a seamless loop without scrollbars.

animation: ticker 30s linear infinite sets the speed, and animation-play-state: paused on selector:hover pauses the logos on hover.

Updated for Divi 5: In Divi 5, sections and columns are flexbox containers that stack their content vertically, so the original CSS put every logo under the previous one. In Divi 5 you can set up the whole structure with the built-in Layout and Sizing settings, so the only code you need is the animation itself. For each step I also give CSS that works in both Divi 4 and Divi 5, if you prefer code or still use Divi 4.

Build a stunning, plugin-free logo marquee for your Divi website

Want to showcase your clients, partners, or sponsors in a way that captures attention? A scrolling logo section (also known as a logo marquee) adds movement and professionalism to any website. The best part? You can create this dynamic element in Divi without a single plugin or line of JavaScript!

In this step-by-step guide, I'll walk you through creating a smooth, infinite horizontal scroll that even pauses when visitors hover over it, all using pure CSS. Whether you're building a portfolio site, business website, or e-commerce platform, this elegant solution will help you showcase partnerships and build credibility.

If you're a visual learner, check out the video version of this tutorial! I demonstrate each step in real time, and it's especially helpful for seeing how the CSS animation works in practice.

The video was recorded in Divi 4. The steps are the same in Divi 5, but use the updated CSS from this post: it adds flex-direction: row, which Divi 5 needs.

How to create an infinite scrolling logo section in Divi

You need one section with two identical rows of logos, a little CSS that lines everything up in one horizontal line, and a CSS animation that moves each row to the left by its own width. When the first row slides out, the copy takes its place, so the loop looks endless.

Step 1: Set up the basic structure

First, let's create the foundation for our scrolling logo section:

  1. Create a new section where you want your logo carousel to appear
  2. Add a single-column row inside this section

Using a single column might seem counterintuitive, but it's essential for the scrolling effect we'll create with CSS later.

Step 2: Add your first logo

Now, let's add and configure the first logo:

  1. Add an Image module to your row
  2. Upload your first logo image
  3. In Design tab ➜ Sizing, set Width to 150px for desktop. For mobile, switch to the phone view and set Width to 120px.
  4. In Design tab ➜ Spacing, set Right Margin to 30px (the space between logos) and Bottom Margin to 0px. In Divi 5 you can skip the right margin and set the space as the column's Horizontal Gap in Step 4.

Use pixel values rather than percentages for precise control over your logo sizes across all devices.

Step 3: Add more logos

  1. Duplicate the Image module for each logo you want to display
  2. For each duplicate, upload a different logo image
  3. Keep the same size and spacing settings for consistency

For an optimal scrolling effect, include at least 5 to 8 logos. Too few will create a choppy appearance.

Step 4: Line the logos up in one row

In Divi 5 (no code): open the Column settings (the gear icon of the single column), go to Design ➜ Layout and set Layout Direction to Row. Set Horizontal Gap to 30px for the space between the logos (and remove the right margin from Step 2).

With CSS (Divi 4 and Divi 5): in the Column settings, go to Advanced tab ➜ CSS ➜ Free-Form CSS (Divi 4: Advanced tab ➜ Custom CSS ➜ Free-Form CSS) and add:

selector {
    display: flex;
    flex-direction: row;
}

This turns the column into a horizontal "flex container", so all logo modules sit side by side. Divi 4 columns aren't flex containers, so they need display: flex; Divi 5 columns already are, but they stack modules vertically, so they need flex-direction: row. With both lines, the same CSS works in both versions.

Step 5: Let the row grow wider than the screen

This crucial step enables the scrolling effect: the row must be as wide as all its logos together, even if that's wider than the screen.

In Divi 5 (no code): open the Row settings (the row itself, not the column) ➜ Design ➜ Sizing. Type max-content in Width and Max Width, and set Row Size to Custom with Shrink 0. If you used the column's Horizontal Gap in Step 4, also set Design ➜ Spacing ➜ Padding Right to the same value (30px).

With CSS (Divi 4 and Divi 5): in the Row settings, go to Advanced tab ➜ CSS ➜ Free-Form CSS (Divi 4: Advanced tab ➜ Custom CSS ➜ Free-Form CSS) and add:

selector {
    max-width: max-content;
    width: max-content;
    flex-shrink: 0;
}

The max-content value lets the row expand as wide as it needs to fit all logos, instead of being limited to the screen width. flex-shrink: 0 (Shrink 0) stops Divi 5 from squeezing the row back to the screen width. In the no-code version, the right padding keeps the space between the last logo and the first logo of the copy the same as between the other logos (with CSS, the logos' right margin from Step 2 does that).

Step 6: Duplicate the row for the infinite loop

  • Duplicate the entire row (not just the Image modules)
  • Make sure the copy has exactly the same logos in the same order

When the first row scrolls off-screen, the identical second row takes its place, creating the illusion of infinite scrolling. Think of it like a continuous loop!

Step 7: Set up the section

In Divi 5 (no code): open the Section settings ➜ Design ➜ Layout, set Layout Direction to Row and Horizontal Gap to 0px.

With CSS (Divi 4 and Divi 5): in the Section settings, go to Advanced tab ➜ CSS ➜ Free-Form CSS (Divi 4: Advanced tab ➜ Custom CSS ➜ Free-Form CSS) and add:

selector {
    display: flex;
    flex-direction: row;
    column-gap: 0;
}

Then go to Advanced tab ➜ Visibility and set both Horizontal Overflow and Vertical Overflow to Hidden (same place in Divi 4 and Divi 5).

This places both rows side by side, with no gap between them (a gap would make the loop jump), while the overflow settings prevent scrollbars from appearing and breaking the illusion.

Step 8: Add the scrolling animation

Stay in the Section settings, go to Advanced tab ➜ CSS ➜ Free-Form CSS (Divi 4: Advanced tab ➜ Custom CSS ➜ Free-Form CSS) and add (below the first rule, if you used CSS in Step 7):

selector .et_pb_row {
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

How this works:

  • ticker: the name of the animation (you could call it anything).
  • 30s: how long one complete loop takes. Change it to make the logos move faster or slower.
  • linear: a constant speed, without speeding up or slowing down.
  • infinite: the animation repeats forever.
  • @keyframes ticker { … }: what the animation does.
  • translateX(0) to translateX(-100%): each row moves left by 100% of its own width. That moves the first row completely off-screen, so the duplicate row can seamlessly take its place.

Step 9: Pause the animation on hover

Still in the Section Free-Form CSS field, add this below the keyframes:

selector:hover .et_pb_row {
    animation-play-state: paused;
}

This creates a more interactive experience, allowing visitors to pause the scrolling when they find a logo of interest.

Step 10: Test and refine

  • Save your changes and preview the page
  • Check that the logos scroll smoothly and continuously
  • Test the hover pause
  • View the page on different devices to check the responsive behavior

Troubleshooting common issues

Most problems come from one missing CSS line or a row that is not an exact copy. Check these first:

  • Logos are stacked vertically (Divi 5): the column or section isn't set to Layout Direction: Row (or is missing flex-direction: row) from Steps 4 and 7.
  • Logos aren't scrolling: double-check the CSS in Step 8 and make sure the animation name matches in both places ("ticker" in this example).
  • The loop jumps: check that the second row is an exact copy and that the section has column-gap: 0.
  • Animation looks jerky: increase the animation duration (30s) for smoother movement.
  • Horizontal scrollbar appears: verify that both overflow settings in Step 7 are set to Hidden.

Customization ideas

Once the basic scrolling logo section works, try these enhancements:

  • Speed: adjust the animation duration (30s) to make it faster or slower.
  • Direction: swap the keyframes, from translateX(-100%) to translateX(0), to scroll the other way.
  • Color effects: add a grayscale filter to the logos that changes to color on hover.
  • Background gradient: add a subtle gradient background to make the logos pop.

And that's it!

Congratulations! You've created a professional, CSS-only scrolling logo section in Divi without relying on any plugins. It adds movement and visual interest to your website while showcasing your partnerships.

The skills you've learned (especially CSS animations and flexbox) can be applied to many other creative elements in your Divi projects. Remember that small details like the hover pause can make a big difference in user experience.

Have you built your own logo carousel with this tutorial? Share it in my Divi Lovers Facebook group. And if you need 1-on-1 help, check out the ways to work with me.

This article has been tagged with: Animations & Effects, Divi CSS

Tags

Infinite scrolling logo section in Divi

Table of Contents

Popular questions

Do I need a plugin or JavaScript for a scrolling logo carousel in Divi?

No. The whole effect is CSS: flexbox lines the logos up, and a CSS @keyframes animation moves the rows. You add the CSS in the Free-Form CSS fields of the section, row, and column.

Why are my logos stacked on top of each other in Divi 5?

Divi 5 sections and columns are flex containers with a vertical direction by default. Set the column and the section to Design → Layout → Layout Direction: Row, or add flex-direction: row; to their CSS (Steps 4 and 7).

How do I make the logos scroll faster or slower?

Change the duration in animation: ticker 30s linear infinite;. A smaller number (for example 20s) is faster, a bigger one is slower.

Why does the loop jump instead of scrolling smoothly?

The second row must be an exact copy of the first (same logos, same order, same spacing), and the section must not add a gap between the rows. Use column-gap: 0; in the section CSS.

About the Author

Ania Romańska

I'm a Divi expert from Poland, with over 10 years building the templates and courses that make up Divi Lover. I'm also a mom of five, which taught me a thing or two about explaining things clearly the first time.

Psst!Black Friday is here.

Black Friday
40% off templates.
Early-bird prices on Divi 5 courses.

Your next Divi project just got a little cheaper.All templates and plugins are 40% off. Plus, grab my new Divi 5 Self-Study Courses at special early-bird prices before they open in January.

No code needed

Sale prices are already applied. Ends November 30.