Hide Divi Gallery Module Slider Navigation Arrows

Written by Dan Mossop

The Divi Theme comes with a gallery module which lets you display pictures in images in both a grid and slider format. The Divi gallery module displays navigation arrows (previous and next) when in slider mode. If you'd like to hide these, here's how you can.

See this post if you'd like to hide the Divi gallery module dot navigation as well.

Hide the Gallery Module Slider Previous and Next Arrows with Divi Gallery Booster

Divi Gallery Booster adds an option to show / hide the slider navigation arrows in the gallery module.

By default, the gallery module displays navigation arrows when you hover over it in slider mode:

To hide this previous / next navigation, disable the arrows by setting:

Gallery Settings > Content > Elements > Show Slider Arrows = No

Note that the option to hide the slider navigation arrows is only shown in slider mode, i.e. when you set:

Gallery Settings > Design > Layout > Layout = Slider

Save the page to apply the changes:

Now when you view the page and hover over the gallery, you should no longer see the arrows displayed:

 This option is available in Divi Gallery Booster version 1.2.0 upwards.

Hide the Gallery Module Slider Navigation Arrows with CSS

You can use the following CSS code to hide the gallery arrows on all gallery sliders:

.et_pb_gallery .et-pb-slider-arrows { 
    display: none !important; 
}

Hide the gallery arrows when automated

To hide the arrow controls only on automated gallery sliders, you can use this CSS instead:

.et_pb_gallery.et_slider_auto .et-pb-slider-arrows { 
    display: none !important; 
}

Discover Divi Gallery Booster

Divi Gallery Booster adds all the missing options you need to style your Divi gallery modules with ease, including hiding slider navigation arrows. 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, 

6 Comments

  1. Works great, except when the mouse hovers. How do I make them transparent on hover? I tried adding hover to the CSS you provided. Thanks!

    Reply
    • Hey Barb, are you able to share a link to a page with one of the galleries you're trying to get this to work on? This code should work even on hover, but perhaps there is something preventing it from taking effect on your site.

      Reply
      • I figured it out, thanks for the speedy reply! I am using the CSS code box on the gallery module and needed to include the id’s for next and prev arrows.

        Reply
        • Great! Nice work, Barb :)

          Reply
  2. hi! thanks for this CSS..

    it works..

    other question is how to avoid visitors clicking on the image on the Gallery Slider, and it popping up?

    thanks
    -Gabriel

    Reply

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.