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.

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.

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

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

Latest Posts

Enable Swipe Navigation in the Divi Gallery Lightbox

Enabling swipe navigation in the Divi Gallery module's lightbox allows users to seamlessly browse through gallery images by swiping left or right, creating a more interactive and mobile-friendly experience. This functionality can significantly improve user engagement...

Disable Slide-In Animation for Divi Gallery Grid Images

Control how images appear in your Divi Gallery module by toggling the slide-in animation effect for grid layouts. Disabling the slide-in animation allows gallery images to load instantly and appear statically, providing a faster and distraction-free browsing...

Control Image Count Display in Divi Gallery Lightbox

Displaying or hiding the image count in the Divi Gallery module’s lightbox can help customize the user experience, depending on whether you want to give visitors an indication of gallery progress or prefer a cleaner, distraction-free view. The ability to toggle this...

Hide Gallery Image Titles in the Divi Lightbox Overlay

Displaying image titles in the lightbox overlay of the Divi Gallery module can sometimes be distracting or unnecessary, depending on your website’s design and user experience goals. Hiding these titles creates a cleaner and more focused viewing experience for visitors...

Customize Divi Gallery Module Pagination with Custom Text and Icons

Enhancing the navigation experience in your Divi Gallery module can make your galleries more intuitive and visually appealing for visitors. By replacing the default previous and next pagination links with your own text and icons, you can better align the gallery...

Random Posts