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

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

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

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.