Subscribe On YouTube

Join other subscribers and enjoy other Divi video tutorials!

How To Make Divi Buttons Fullwidth

Nelson Miller Profile Orange
This quick Divi Pro Tip will show you how to make a Divi button fullwidth to fill the width of the column and also how to center the button text.

▶️ Please watch the video above to get all the exciting details! 👆

missing sizing toggle settings in the button module

The steps are quite easy. Go to your Button module settings. Proceed to the Advaned tab and click to open the Custom CSS toggle. Then look for Main Element. That is where you need to past or write the following line of CSS:

width: 100%;
make divi buttons fullwidth

Now you probably notice an issue. The text is not centered. This looks bad to me, so let’s go in and add a second line of CSS to solve that.

make divi buttons fullwidth and centered

Beautiful! It doesn’t get any easier than that, does it! Now your Divi buttons are fullwidth in the column and the text is centered! I hope you enjoyed this little tip!

Last updated January 16, 2026

Subscribe For More Divi News & Resources!

At the start of each month, we send out a recap newsletter from the month before with family news, Divi news, our latest tutorials, product news, and a look behind the scenes. Occasionally, if the news is too exciting to wait, we will send out another email separate from the monthly newsletter. That’s what you get when you subscribe, and of course, you can unsubscribe if you are no longer interested!

Blog Post Optin
Divi Logo (2)

Shop Our Divi Products

Plugins • Courses • Templates

Visit The Shop

Featured Products

Asset 4

New! Trail Guides

Follow a series of blog posts carefully arranged around a specific topic or goal! Keep track of your progress by marking posts completed, just like a free course!

View Trail Guides

Divi Tutorials On YouTube

Our videos have views! Join subscribers and enjoy over video tutorials!

Visit Our Channel

Leave A Response!

By commenting you agree to our Blog & YouTube Comments Policy

17 Comments

Comments By Others

  1. Matt Enser

    Thank you, Nelson. Does this work with Divi 5? I would think it would, but it isn’t working for me, so I’m not sure what I am doing wrong.

    Reply
    • Hemant Gaba <span class="comment-author-role-label"><a href="https://www.peeayecreative.com/product/divi-adventure-club/" class="comment-author-role-link" rel="external nofollow" target="_blank">Divi Adventure Club Member</a></span>

      Hi Matt!

      Yes, the Divi 5 is adding max-width property for buttons. Please add the following code in Custom CSS tab:

      width: 100%;
      max-width: none !important;

      Hope it helps!

      Reply
  2. Mandy

    I am SO happy I’ve discovered you. You have easily explained and solved half a dozen DIVI issues I’ve run into today. I’ll totally be linking to you in the resources section of my website. Thank you!

    Reply
  3. Hassam

    Quick fix. Thanks.
    I add `width: 100%` in advanced > Custom CSS and chose mobile view. As i want full-width for mobile devices only. Thanks for quick guide.

    Reply
  4. Sander Krijnen

    Hi Nelson,

    I’m using your code to place buttons next to each other.

    /*knopppen naast elkaar > plaats ‘inline-buttons’ in CSS Class in de rij*/
    .inline-buttons .et_pb_button_module_wrapper {
    display: inline-block;

    }

    In that case the code from above doesn’t work. Do you know if there is another way of making the buttons full width for mobile?

    Thanks, Sander

    Reply
    • Hemant Gaba <span class="comment-author-role-label"><a href="https://www.peeayecreative.com/product/divi-adventure-club/" class="comment-author-role-link" rel="external nofollow" target="_blank">Divi Adventure Club Member</a></span>

      Hi Sander!

      If you’re looking for the buttons to be fullwidth on mobile and inline to each other on tablet and desktop, then we can use media query with your code. The code will be:

      @media all and (min-width: 767px){
      .inline-buttons .et_pb_button_module_wrapper {
      display: inline-block; }
      }

      Reply
  5. Bruno

    Thanks a lot :))

    Reply
  6. Alex Lopez

    thanks, and how about in the contact form?

    Reply
    • Nelson Lee Miller (aka The Divi Teacher) <span class="comment-author-role-label author-label">Author</span>

      Hi Alex,
      That is totally different.

      /*make the contact form button container fullwidth*/

      .et_contact_bottom_container {
      width: 97%;
      }

      /*make the contact form button fullwidth*/

      .et_pb_contact_submit.et_pb_button {
      width: 100%;
      margin: 0 auto;
      }

      Reply
  7. Shahid Zafar

    Thank u so Much, Highly Appreciable!
    Love From Pakistan!!! 🙂

    Reply
  8. Ron

    Hi Nelson. Great tip but I miss the text align CSS in your post. In the video you explane it but not in this text of the post. Also live examples do not work.

    Reply
  9. Platt Johnson

    Works well and makes a cleaner looking page design. Thanks

    Reply
  10. Gio

    Simple but: great!!

    Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Recent Posts

Last updated January 16, 2026
Shopping cart0
There are no products in the cart!
You may be interested in…
Divi Builder Experience Helper Plugin by Pee-Aye Creative
From: $36.00 / year

Select options This product has multiple variants. The options may be chosen on the product page

Divi Assistant
From: $69.00 / year

Select options This product has multiple variants. The options may be chosen on the product page

Divi Carousel Maker Plugin by Pee Aye Creative
From: $29.00 / year

Select options This product has multiple variants. The options may be chosen on the product page

Logo for D Beginner Course with graduation cap
From: $47.00 / year

Select options This product has multiple variants. The options may be chosen on the product page

divi events calendar
From: $54.00 / year

Select options This product has multiple variants. The options may be chosen on the product page

Continue shopping
0