Centered full width button...
Anyone figure out how to make a button full width in Divi 5? I haven't found a way to do it somehow!
Hello Chris,
You can choose the design tab then spacing Left and Right as you need the size
Hope this is helpful for you
Good Luck with your project
Right I'm familiar with that, but I seem to remember in Divi 4 that I could just put a width of 100% on the element and it would stretch to fill the containing element. That doesn't seem to be the case for Divi 5.
Okej there is two more ways you can go.
First is when you make an row, first thing is to make it as GROUP, then when you add a bottom column in the group you can set column width and height size to 100% then desin tab --> button check fullwidth .
Second is to choose new element by the design tab in group row, same there you can set the width to100% in design tab -->size --> width 100% then check fullwidth in button setting.
Hi Robert,Â
I'm getting some of what you are suggesting. I have created a group inside a row and added a button module. The column holding the group is set to fullwidth, and the group is set to fullwidth as well. But there are no sizing parameters in the button module itself. If I look at the button module, I have Button Background, Border, Text, and Icon. I was able to make it full-width by adding ‘width:100%;’ to the button's Main Element’s CSS. I think your suggestion of adding it to a group first allowed this CSS to work this time. Thanks!