Make Divi Button Modules Full Width with Centered Content

Written by Dan Mossop

YouTube video
This configuration makes a Divi button stretch to the full width of its container while keeping its label neatly centered, creating a bold, edge-to-edge call-to-action. You might want this for hero sections, pricing tables, or any layout where a standard-sized button feels too small or visually understated. In this guide we show you how to enable a full-width behavior for Divi button modules and confirm that the correct styling is applied on the front end.

Make Divi Button Modules Full Width with Centered Content using the Force Fullwidth Setting

This method demonstrates how to make a Divi button span the full width of its container by enabling the custom "Force Fullwidth" setting provided by the Divi Button Module – Force Full Width plugin. It’s a straightforward, low-effort approach that requires no custom code and gives your button a modern, full-width look.

Add a Full-Width Button Module in Divi

To get started, open your page in the Divi Builder. Add a single-column row to your layout if you don’t already have one. In that row, insert a Button module from the module library. When prompted for the button text, enter a label such as "Fullwidth Button"—this will appear on your button.

Enable the "Force Fullwidth" Setting

With the Button module settings open, head to the Content tab. Find the option labeled "Force Fullwidth" and toggle it on. This setting makes your button stretch to fill the entire width of its container and ensures the button text remains centered.

Save and View Your Fullwidth Button

Once you’ve enabled "Force Fullwidth," click the main save or publish button in the Divi Builder to update your page. Next, exit the builder and view your page on the front end to see the new full-width button in action.

Conclusion

With just a couple of quick steps in Divi, you can transform any button into an eye-catching, full-width call-to-action with centered text—no custom code needed.

Supercharge Your Posts with AI-Generated CTAs

Maximize engagement on your Divi website with WP Magic CTAs, the AI-driven plugin that helps you create personalized, highly-targeted call-to-actions like never before. Ideal for boosting interactions with your bold, full-width buttons!

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, 

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

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

Get this feature

This feature is available in the following plugins:

Single Feature

Compatible with

Divi 5

Divi 4

News