Style the Divi Gallery Module Lightbox Image Count

Written by Dan Mossop

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 the lightbox image count and confirm the changes are applied on the front end.

Style the Divi Gallery Module Lightbox Image Count using Divi Gallery Booster / Divi Booster

This method demonstrates how to style the lightbox image counter using the “Lightbox Image Count” font controls provided by the Divi Gallery Booster and Divi Booster plugins. These plugins add convenient options for changing the look of the counter—no code needed. You can easily adjust the counter’s color and size to fit your website’s design.

Open the Gallery Module's Design Settings

On your page with a Divi Gallery module, open the Gallery Settings. Then, select the Design tab from the top of the settings window. This is where you'll find all the tools for customizing the appearance of your gallery, including the image counter in the lightbox.

Expand the Lightbox Image Count Group

Scroll down in the Design tab until you find the 'Lightbox Image Count' group. Click on it to expand and reveal the settings for customizing your image counter. These options are available thanks to Divi Gallery Booster and Divi Booster plugins.

Set the Lightbox Image Count Text Color

In the expanded 'Lightbox Image Count' group, click the Text Color swatch. Choose your preferred color to make the counter stand out. For example, try setting it to green using the color code #00ff00 at full opacity to see an instant pop of color.

Set the Lightbox Image Count Text Size

Still in the 'Lightbox Image Count' section, find the Text Size setting. Enter your chosen size, such as 28, to make the counter larger and more legible.

Save Your Changes

Once you're happy with the color and size, save your changes by clicking the Save button in the Divi Builder’s top bar. This ensures your customizations are applied to the gallery module on your page.

Preview and Confirm Your Customization

Visit your page on the front end and open the gallery lightbox by clicking on a gallery image. Look for the image counter (such as "1 of 2") at the bottom of the lightbox overlay. Check that the counter uses your chosen color and text size, standing out clearly against the background. If everything looks good, your changes are live!

Conclusion

With these simple steps, you can easily style the image counter in the Divi Gallery lightbox, helping it look just right for your website and making image navigation clearer for your visitors.

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

Boost Your Divi Gallery Experience!

Unlock the full customization potential of your Divi Gallery module with the Divi Gallery Booster. Effortlessly style your gallery's lightbox image count and more, with no coding required. Enhance your site’s visual appeal today!

Latest Posts

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

Style the Divi Gallery Lightbox Close Button

Give your gallery lightbox a clear, on-brand close button by customizing its color and size. This improves visibility and usability against varying image backgrounds and ensures the button renders at full opacity for a consistent experience. In this guide we show you...

Add a Visible Shadow to Divi Gallery Lightbox Arrows

Give the lightbox navigation arrows in your Divi galleries a stylish pop and improve their visibility by adding a shadow beneath the arrows. This quick guide will show you how to make your navigation arrows stand out against the lightbox overlay.Add a Visible Shadow...

Adjust Lightbox Arrow Size in Divi Gallery

Customize the size of the navigation arrows that appear in your gallery lightbox so they’re easier to see and aligned with your site’s design. Whether you want larger, more accessible controls or a subtler look, setting a precise arrow size creates a more polished...

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

Works with Divi 5

This feature has been tested and confirmed to work with Divi 5.

Works with Divi 4

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.