How To Resize Divi Column Widths Tutorial by Pee-Aye Creative

How To Resize Divi Column Widths

Learn how to easily resize Divi column widths to any size you want with some simple CSS code applied directly in the row settings within the builder.
Example of how to resize Divi column sizes
Divi Column Size On Desktop
Divi Column Size On Tablet
Divi Column Size On Phone

So We Need More Options…But What About All  The Extra Coding?

You won’t need any special code snippets and CSS classes that get confusing and messy. Instead, I’m going to show you how to do this right in the Divi Builder!

I wanted to make a solution that was easy for others to use and avoid confusing CSS media queries and custom classes. Good news…it couldn’t be easier!

I am very happy to say that I have a solution that is easy and very versatile.

Row Settings used to resize Divi columns
Row Settings to resize Divi columns
width: 10%!important;
CSS used to resize Divi columns

Obviously, you will need to change the 10% to suit your needs.

Be sure to past this in each column and change the numbers so that altogether they equal 100%.

Adjusting for Tablet and Phone

In case you missed it, you can now set CSS to apply to desktop, tablet, or phone within the builder. Be sure to check your tablet and mobile when you are resizing columns! If you forget to change the columns back to 25% each for example, they will look very bad. You may probably want to change the width of each column to 50% or 100% on the phone. NOTE: Stay tuned for another post on mobile columns stacking order and width coming here to the blog very soon!

Change the Divi mobile column width on mobile

FYI: You can do this with a setting directly in the Divi Visual Builder with our popular Divi Responsive Helper plugin! Take a look, it is so easy!

Divi Responsive Helper Plugin 2.0 by Pee Aye Creative
an example of custom Divi column widths
Example of how to resize Divi column sizes
  • I started with 4 columns set to 1/4 each.
  • In the row sizing, I set the row with and max-width to 100%.
  • While I was there I changed the gutter to 1.
  • In the first column with the logo, I set the width to 10%.
  • The second column with the menu is larger, so I set the width to 65%.
  • In the third column with the button, I set the width to 10%.
  • Lastly, in the fourth column with the social follow, I set the width to 15%.

This is just one example. You can resize Divi column widths with as many columns as you want and in any increment. I’d love to see what you come up with, so please share in the comments!

70
Last updated Mar 9, 2021 @ 12:17 pm

Please share this post!

Nelson Lee Miller (aka The Divi Teacher)

Nelson is the owner of Pee-Aye Creative Co in the beautiful state of Pennsylvania. He loves helping small businesses, exploring, building websites with Divi, and teaching others.
Divi Adventure Club Product And Course Membership by Pee Aye Creative

Become A Member!

Gain access to everything we offer!

Learn More

Leave A Response!

49 Comments

  1. jualjuel

    Awesome. Very useful tutorial. Thank you.

    Reply
    • Nelson Lee Miller

      You are welcome!

      Reply
  2. Tilak Conrad

    Superb – you have got a great teaching and presentation style. Thanks very much

    Reply
    • Nelson Lee Miller

      Thank you Tilak, I’m very glad you like it!

      Reply
  3. Josh

    Thanks for sharing this Nelson. I just tried this with a 4 column footer on my website and it worked great on the desktop view. However, Divi automatically carried the “Desktop” Custom CSS code over to the “Tablet” and “Phone” views. So then things look super squished on those mobile views. I can’t find a way to get Divi to behave properly and not allow the Custom CSS to automatically overflow into the mobile views.

    Reply
    • Nelson Lee Miller (aka The Divi Teacher)

      Hi Josh,
      Yes, by default with anything responsive it carries over. If you have the Desktop, Tablet, and Phone enabled when you paste the code in the Desktop, then it sounds like a bug, but you can simply override the width for each device. So maybe you want to put 50% in the phone instead of 25%. Let me know how it goes!

      Reply
      • Mike Nelson

        I have the same issue with CSS. For example. I have a four column layout for my desktop. I’ve changed the settings for column one to 10% in desktop via the CSS width :10% !important; Then I change in the tablet CSS mode to 20%. Whatever CSS Width setting i use it goes across all devices. So my original setting of 10% desktop is now 20% due to the fact that I changed it for my tablet. Am I doing something wrong? Would this be resovled w/ your helper plugin?
        Thank you.

      • Nelson Lee Miller (aka The Divi Teacher)

        Hi Mike,
        By default that is how Divi works, any setting you apply to desktop applies to tablet and phone. So it should work if you make sure you are placing a specific width in each device. Put it this way, it should work and it does for me, so otherwise if you are doing that and it’s not working, I’m not sure…

      • Mike Nelson

        oh… I thought the CSS was per device meaning I could set column A desktop to 25% and tablet to 50%.. sounds like what ever I make column A will be the same across all devices….
        Sound right?
        PS.. I really appreciate you taking the time to help!
         
        Update: It appears to work as advertised at the row level with different CSS settings per device. I was hung up trying to change the individual column widths inside the row settings which doesn’t work. Thanks again
         

  4. design

    Great tutorial. So I have implemented the CSS using 4 column. Looks great on desktop and the landscape view. But I can’t see the logo or menu in the mobile or tablet vertical view. I even tried adjusting the columns %. I see them trying to load but they are far below the header. Any suggestions?

    See Example: https://bsf.live-website.com/pastors-blog/
    vertical tablet and mobile view

    Reply
      • design

        Whew.. a lot of trial and error. I followed your tutorial on resizing columns.
        So far it’s working, except for one thing. When the menu drops down it is not wide enough. And looks off centered.
        Any thoughts how to fix this?

  5. andreas

    Perfect solution! Thank you so much!

    Reply
  6. Martin davis

    Hey. This didn’t work for me. In my row settings the max width is shown as pixels not a percentage like in your example. Is there any way to change this? Any help appreciated. Thanks

    Reply
  7. Joel Pritchard

    Hi, your tutorial looks amazing however I cannot find the options in my divi builder. Can you please help. As you can see i have no option in row settings to modify structure’s. All I can do is setup structure type please advise.

    Here is a picture

    https://ibb.co/rdtBd3R

    Reply
  8. Carol Fong

    Wow, Thank you so much!! This was very helpful with a client’s request.

    Reply
  9. Tim

    Hi Nelson!

    Thanks so much for this tutorial … It works smooth when using a regular column layout!

    Now my client wants to have a more complex layout, so I got to use one of the speciality column layouts. Unfortunately I can’t adjust the widths in the same way, since I can’t address each columns’ CSS individually …

    Do you have any idea about a workaround?

    Thanks so much in advance!!!

    Cheers, Tim

    Reply
    • Nelson Lee Miller (aka The Divi Teacher)

      Hi Tim,
      I haven’t tried it with the Specialty sections but I’m wondering if it would work the same way. You should still be able to adjust each column’s CSS, right?

      Reply
  10. amin

    This great. I design all my layouts on sketch app before I jump on divi and I struggled to match what I did in sketch when using divi modules. this is amazing solved all my problems thank you Nelson.

    Reply
  11. Phil

    Hi there,
    I am trying to do the same with a 3 columns row in a speciality section. Unfortunately for some reason the row in speciality section doesn’t provide you with the ability to use a custom gutter. Any thoughts on how I can do this?

    Reply
    • Nelson Lee Miller (aka The Divi Teacher)

      Hi Phil,
      There is a setting for gutter width in the Specialty Section, and in the columns. But yeah, I don’t see any way to make it work in Specialty Sections.

      Reply
  12. Jeff

    Hi Nelson. New to WP and DIVI. But experienced CSS/HTML/JS programmer. This tutorial is what I needed to solve a current WP/divi site design. Created a row with 4 equal columns. Setup the Row styles as you indicated. Changed my individual columns to 15%, 50%, 15% and 20%. Everything sized correctly. As an example, I added another row with the default 4 equal columns. I placed Text, Text, Button, Button in the 4 columns of each row. We have lost something with the special row w/ CSS. When on mobile, or on desktop and you reduce the width of the display, the columns no longer stack underneath each other as they do with the default 4-Col test row. Instead, each column stays on the same horizontal plane and grows in height. This is somewhat OK for the Text Modules, but the button modules overlap each other. I have played around with your settings and it seems that ‘row width’, ‘max row width’, nor ‘gutter’ settings make any difference. In other words, if I just leave those at their default setting, everything works exactly the same, the row is just a different total width.
    It seems that Josh had this same question 4 months ago, and I don’t understand your answer or what the solution was. I don’t seem to have an option for ‘desktop, tablet, or phone’ when adding the CSS code. But perhaps I am missing the setting. I do have the latest/greatest DIVI code as far as I can tell.
    So, please, what am I missing here?

    Reply
      • Jeff Jones

        Hi Nelson. Thanks. I watched your course. I now know, being new to divi/WP, how to set different settings for desktop/tablet/phone. Of course, being a hidden feature unless you mouse-over is not intuitive for a newbie, but I get it now.
        I have discovered a few things now that are also not intuitive that I think others in previous posts have stumbled over. So, in the interest of sharing (and thanks for all you have shared to get us all started), I will list those things for other newbies.

        1. Not obvious that grayed out text in Tablet/Phone settings for Custom CSS is what is being defaulted due to the Desktop setting. And not obvious why I can’t edit that. The answer is that you don’t edit that, you merely enter your own new setting by typing or pasting into the text box.
        2. Setting “width: auto!important;” for Phone, solved the overlapping setting applied from the Desktop setting of “width: 15%!important;” on one of the columns for example. Bingo! That was the answer to my problem.
        3. When in the DIVI editor with your page set to Phone mode, these changes are not displayed; the break-points. So, you make changes after changes and you don’t see them taking affect. But, save the changes and exit the divi editor (or bring up your page in a separate TAB in your browser outside the divid editor) and Voila! Now it is breaking as expected! One can waste uncounted hours making changes and wondering why you don’t see them taking affect in the divi editor. (That’s me raising his hand on this one; many hours spent wondering.)

        Now, once one knows these things, probably will never make the mistake again, and will plow ahead productively. But until one knows these tidbits, frustration and much wasted time.

        Thanks again for the tutorials and your availability to fill in the cracks via these questions/answers.

  13. Melody Scott

    Thanks!! This helped a lot.

    Reply
  14. Yogendra pratap

    Your explanations are simple and easy to understand 👌👌

    Reply
  15. Erwan

    Hello, yeah, thanks a lot. Very usefull.

    Reply
  16. Alice

    Thank you! This is so useful

    Reply
  17. Rob Stephens

    This is probably the most important Divi tutorials I’ve found online – super powerful! You’ve solved one of my biggest headaches!

    Reply
  18. Nomore Mudzvova

    Thanks Nelson, this was very useful.

    What i discovered is that you also need to set the min-width and max-width for it to work. I dont know if it is the Extra theme that requires so or it is the latest update

    Reply
  19. Erminio

    Hi,
    I used your tutorial and works great to my desktop view, however, for cell phone all the column stays compress in the same row, I didn’t understand why, can you help me?
    Thank you

    Reply
    • Nelson Lee Miller (aka The Divi Teacher)

      Hi Erminio,
      I’m not sure what you mean. Do you mean the columns are side by side on mobile? That normally is what people want to achieve, as this is not default behavior. So I suggest checking if you have added width to Tablet and Phone tabs in the columns.

      Reply
  20. mark

    Can columns in the Divi full width slider be adjusted? I would like to give my images a little bit more than the copy. Thanks!

    Reply
  21. Jose

    Really Thanks!!! i normally when we find some issues or need to do something like this think ” i need i new plugin” and start to search, try, install, uninstall so at the end the website finish with a big list of plugins only to solve little things, when the solution be into a little bit effort to learn and work more efficient.

    Thank for your help.

    Reply
    • Nelson Lee Miller (aka The Divi Teacher)

      Yes, simple. Although for much more than this you would get overwhelmed by code. In that case, be sure to check out our Divi Responsive Helper plugin! 🙂

      Reply

Submit a Comment

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

Recent Posts

Welcome Hemant To Our Team

Welcome Hemant To Our Team

I would like to introduce you to our new team member, Hemant Gaba, who has been helping out with everything behind the scenes!

Pin It on Pinterest

0

Your Cart