Center the Lightbox Image Count in the Divi Gallery Module

Written by Dan Mossop

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, and help maintain consistent alignment across your design. In this guide we show you how to center the lightbox image count in a Divi Gallery.

Center the Divi Gallery Lightbox Image Count using Divi Gallery Booster

This method demonstrates how to center-align the lightbox image count in a Divi Gallery using the 'Lightbox Image Count' font controls provided by the Divi Gallery Booster plugin (also available via Divi Booster). It’s a simple, no-code approach that lets you set the alignment directly in the Builder for a cleaner, more balanced lightbox layout.

Add Images to Your Gallery Module

If you haven't already, open your page in the Divi Builder and add a Gallery module. In the Gallery Settings, under the Content tab, click the "Add Gallery Images" button, navigate to the Media Library tab, and select the images you'd like to include. Once you've selected your images, click the "Select" button to add them to your gallery.

Center the Lightbox Image Count

With your images added, go to the Design tab of the Gallery module settings. Scroll down and expand the "Lightbox Image Count" section. Within this section, find the "Text Alignment" controls and click the center alignment option. This will immediately center the image count text in the lightbox.

Save and View Your Changes

After making your adjustment, be sure to save your page. Use the Divi Builder's Save button in the top-right corner. Then view your page on the front end and click any gallery image to open the lightbox. You should now see the image count (such as "1 of 2") beautifully centered beneath your gallery image.

Conclusion

That's it! With just a few quick tweaks, your Divi Gallery lightbox will now display the image count centered for a cleaner, more professional look.

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

Enhance Your Divi Gallery Today!

Unlock the full potential of your Divi gallery with the Divi Gallery Booster. Easily adjust your lightbox image count alignment for a more refined, balanced presentation. Save time and captivate your audience with stunning galleries.

Latest Posts

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

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

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.