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

Customize Lightbox Title Styling in the Divi Gallery Module

Adjust the appearance of the lightbox title that appears when visitors open images from a Divi Gallery to align with your brand and improve readability. Refining the title’s color, size, and weight enhances visual hierarchy, accessibility, and overall polish. In this...

Center the Lightbox Image Count in the Divi Gallery Module

Centering the image count in a gallery lightbox creates a cleaner, more balanced presentation and makes it easier for visitors to see where they are in the image set. This simple visual tweak can enhance readability, especially with larger images and longer captions,...

Style the Divi Gallery Module Lightbox Image Count

Tailor the appearance of the image counter in the Divi Gallery module lightbox to match your brand and improve readability. By customizing the counter’s color and typography, you ensure it displays clearly and suits your design. In this guide we show you how to style...

Customize the Lightbox Image Background Color in the Divi Gallery

Control the color that appears behind your images when users open in the gallery lightbox, including support for semi-transparent hues. This helps improve contrast for transparent images, align the experience with your brand palette, and create a more polished viewing...

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 *.

Gallery Booster

All the Divi Gallery module features you need!

All licenses are lifetime – pay once, use forever.

Divi Booster

Hundreds of new features for Divi!

All licenses are lifetime – pay once, use forever.

Divi Booster

Hundreds of new features for Divi!

All licenses are lifetime – pay once, use forever.