Styling the Divi Gallery Module Slider Arrows

Written by Dan Mossop

The Divi Theme includes a versatile gallery module for showcasing your images in both grid and slider formats. In slider mode, the gallery module displays navigation arrows (previous and next) when the gallery is hovered, enhancing user navigation. However, they are grey by default, with no built-in option to change them. If you want to style these arrows to better match your site's design or make them more visible, here’s how to do it.

First, here's a before / example showing the default gallery module slider arrow styles (left) and restyled slider arrows (right):

Before

After

Styling Divi Gallery Slider Arrows with Divi Gallery Booster

Divi Gallery Booster provides intuitive settings to style your gallery slider arrows. You can customize the arrow color, size, and shadow through easy-to-navigate settings.

First, ensure you're in slider layout mode:

Gallery Settings > Design > Layout > Layout = Slider

With this setting enabled, Divi Gallery Booster will show additional options under:

Gallery Settings > Design > Slider Arrow Text

Here, you can customize:

  • Arrow Color
  • Arrow Size
  • Arrow Shadow

You can access and modify these settings as shown in the screenshot above. In my test example, I've changed the arrow to yellow for better contrast with the dark blue sky background, increased the size to 60px, and added a shadow to make it stand out more against the light sky patch on the left.

These options are available in both Divi Gallery Booster and Divi Booster.

Styling Divi Gallery Slider Arrows with CSS

If you prefer or need to style the arrows with CSS, here are the equivalent CSS snippets for each of the three customization options available in Divi Gallery Booster.

Set the Arrow Color

.et_pb_gallery .et-pb-arrow-prev, 
.et_pb_gallery .et-pb-arrow-next {
    color: yellow !important;
}

Set the Arrow Size

.et_pb_gallery .et-pb-arrow-prev, 
.et_pb_gallery .et-pb-arrow-next {
    font-size: 60px !important;
}

Set the Arrow Shadow

.et_pb_gallery .et-pb-arrow-prev:before, 
.et_pb_gallery .et-pb-arrow-next:before {
    text-shadow: 0em 0.08em 0em rgba(0, 0, 0, 0.4);
}

Conclusion

Customizing the appearance of your Divi gallery slider arrows can greatly enhance the visual appeal and usability of your site. Whether you use Divi Gallery Booster’s settings or CSS, these changes can make your galleries stand out and provide a better user experience.

We may earn a commission when you visit links on our website.

Discover Divi Gallery Booster

Divi Gallery Booster adds all the missing options you need to style your Divi gallery modules with ease. Save time and impress your site visitors and clients with breathtaking galleries.

Latest Posts

Top (or Bottom) Align Divi Icon List Module Icons

When Icon List items wrap onto multiple lines, the default icon alignment can make the icon appear vertically centered next to the text, which may look unbalanced or harder to scan. Setting the icons to align at the top creates a cleaner, more consistent...

Make Divi Button Modules Full Width with Centered Content

This configuration makes a Divi button stretch to the full width of its container while keeping its label neatly centered, creating a bold, edge-to-edge call-to-action. You might want this for hero sections, pricing tables, or any layout where a standard-sized button...

Fix the Flickr Typo in the Divi Social Media Follow Module

Sometimes it's the small things that make the difference... there is a minor typo in the Divi Social Media Follow module that was present in Divi 4, and (currently) remains in Divi 5. Specifically, the tooltip for Flickr is misspelled as "Flikr". Here's how to fix...

Add a Frosted-Glass Background Blur in Divi

Give your Divi layouts a polished, glassmorphism look by blurring the content behind a semi‑transparent Divi section, row or module. This effect enhances readability over busy or textured backgrounds while preserving the visual impact of your imagery and layout. In...

About Dan Mossop

Dan is a Scottish-born web developer, now living in Brisbane with his wife and son. He has been sharing tips and helping users with Divi since 2014. He created Divi Booster, the first Divi plugin, and continues to develop it along with 20+ other Divi plugins. Dan has a PhD in Computer Science, a background in web security and likes a lot of stuff, 

0 Comments

Submit a Comment

Comments are manually moderated and approved at the time they are answered. A preview is shown while pending but may disappear if your are cookies cleared - don't worry though, the comment is still in the queue.

Your email address will not be published. Required fields are marked *.

Get this feature

This feature is included in the following plugins:

Divi Gallery Booster

About Divi Gallery Booster

Divi Booster

About Divi Booster