Create Custom Divi Row Column Structures For Mobile With CSS Grid

  Рет қаралды 2,125

DiviMundo

DiviMundo

Күн бұрын

Divi comes with a wide array of column structures for beautiful desktop designs. In this tutorial, we are going to unlock these flexible column layouts for mobile devices (phone and tablet) using responsive CSS grid.
👉 Copy the CSS snippets from the blog post: divimundo.com/en/blog/create-...
Chapters
00:00 - Intro: Row layouts in Divi
01:27 - Why you will see a false error message in the Theme Customizer when using CSS Grid with Divi
04:10 - Enable CSS Grid in Divi by adding custom CSS
05:27 - Create custom row column structures for mobile in Divi using CSS Grid
10:37 - Fixing "widow columns" using CSS Grid (force the last column to be fullwidth)
12:12 - Center-align columns vertically using CSS Grid
13:25 - Live demo: Different row structures in phone and tablet with Divi using CSS Grid
14:58 - Understanding basic CSS Grid in Divi - explaining the code
Do you you miss the flexible Divi row layout options when designing for mobile? I sure do, so I decided to create a CSS grid system that allows custom column structures in ALL devices. In this tutorial, we are going to apply both equal width column structures as well as mixed column widths combinations. You don’t need any plugins and it works flawless in all modern web browsers. I hope that you will enjoy this brand new toolbox for responsive row design in Divi, the popular WordPress theme from @elegantthemes
The result: Our custom column layouts library
Here are the new responsive column structures that we are going to unlock for phones and tablets:
Mixed Column Widths (Mobile & Tablet)
2 columns (1/3 + 2/3)
2 columns (2/3 + 1/3)
2 columns (1/4 + 3/4)
2 columns (3/4 + 1/4)
3 columns (2/4 + 1/4 + 1/4)
3 columns (1/4 + 1/4 + 2/4)
3 columns (1/4 + 2/4 + 1/4)
Equal Column Widths (Mobile & Tablet)
1 column on tablet
2 columns on tablet
3 columns on tablet
4 columns on tablet
5 columns on tablet
6 columns on tablet
Any questions? Let me know in the comments!
⚡ DiviMundo.com is dedicated to spread knowledge about WordPress and the Divi theme. The vision is that everyone should be able to design beautiful websites without exhausting coding issues. Read more at divimundo.com/en/
⚡Get 10% off Divi here: divimundo.com/divi10/ (affiliate link)
#divi #mobile #responsive

Пікірлер: 17
@holliebarac1701
@holliebarac1701 27 күн бұрын
Victor, what would we do without you!? You are absolutely brilliant. Thank you, thank you, thank you!
@DiviMundo
@DiviMundo 27 күн бұрын
Wow, that’s really nice to hear! ☺️
@DiviMundo
@DiviMundo 9 ай бұрын
👉 Here's the blog post with all the snippets: divimundo.com/en/blog/create-custom-divi-column-structures-in-mobile-devices-with-css-grid/
@lionsky
@lionsky 7 ай бұрын
Victor! Excellent Video explaining and Free code for use. You are a blessing! Solved my issue that Divi Support had to give up on after an hour of back and forth. Just upped my web designer game so much. Thank you!
@DiviMundo
@DiviMundo 7 ай бұрын
Cool, I'm really glad to hear that! Maybe I should send this video to the Divi support. 😀
@user-cipheredhistories
@user-cipheredhistories 9 ай бұрын
Your video was excellent. Thank you for taking the time to create such an look to phones. When it comes to the layouts. Seeing how 70%plus of traffic is now done thru phones. Being able to create something that stands out above another's page on the phone is a game changer. Thanks again. For creatine this CSS I will put it to good use.
@DiviMundo
@DiviMundo 9 ай бұрын
Thanks a lot for your kind words Brian! I'm sure more layout options for mobile devices will be the top priority for the Divi team after the launch of Divi 5, but to be realistic, flexbox and grid will probably take at leat a year from now to implement in the visual builder.
@jamesdavis8731
@jamesdavis8731 9 ай бұрын
You are one helluva great resource for knowledge. Excellent. I really appreciate you spreading your knowledge.
@DiviMundo
@DiviMundo 9 ай бұрын
Thanks James, I'm really glad to hear that! 😀
@savindudananjaya2633
@savindudananjaya2633 6 ай бұрын
that's grate and worthful 😍
@DiviMundo
@DiviMundo 6 ай бұрын
I’m glad you liked it! 😊
@shivam_pandya.
@shivam_pandya. Ай бұрын
This is great, I was looking for something like this from very long time, I'm not webdesigner but I needed something simple for my portfolio so thank you, by the way how do I change width of column on desktop, I mean when I select format of 3 columns then they have pre-fixed sizes. I can reduce the width of content and column but spacing remain same. Other columns does not adjust according to new space.
@shivam_pandya.
@shivam_pandya. Ай бұрын
currently I have applied different margins, paddings and width size to adjust and fit everything.
@DiviMundo
@DiviMundo Ай бұрын
I'm glad to hear that! Sure, you can change the spacing between columns on desktop by editing the Row settings under Design » Sizing » Use Custom Gutter Width Here you have four pre-defined colum gaps. If you want more granular control., you can change the media queries in my CSS and apply it to deskop (min-width: 980 px).
@shivam_pandya.
@shivam_pandya. Ай бұрын
@@DiviMundo i see thanks, also how do i create something like e columns out of 100% ratio of raw...20% - 30% - 50%
@DiviMundo
@DiviMundo Ай бұрын
@@shivam_pandya. You can set the row width and max-width to 100% and gutter width: 1. You an replace the fr values in the CSS grid code with percentage, for example: grid-template-columns: 20% 30% 50%; Just remove the gap value (or set it to 0) if you don't want to have spacing between the columns.
@shivam_pandya.
@shivam_pandya. Ай бұрын
@@DiviMundo understood and thank you very much ✌️
How to Keep Columns on Mobile in Divi
11:20
Josh Hall
Рет қаралды 99 М.
How To Resize Divi Column Widths To Any Size
7:58
Pee-Aye Creative
Рет қаралды 44 М.
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 13 МЛН
Неприятная Встреча На Мосту - Полярная звезда #shorts
00:59
Полярная звезда - Kuzey Yıldızı
Рет қаралды 7 МЛН
Can You Draw A PERFECTLY Dotted Line?
00:55
Stokes Twins
Рет қаралды 95 МЛН
I Tried Divi 5 - It Was Amazing!
11:20
SiteKrafter
Рет қаралды 7 М.
Create A Custom Header Using The Divi Theme
38:58
Ferdy Korpershoek
Рет қаралды 19 М.
How to customize column widths in Divi // Web Tutorial
8:00
Michelle Schneider
Рет қаралды 6 М.
How To Manually Set Divi Column Stacking Order on Mobile [Super Easy]
7:03
Learn Divi Responsive Design In 10 Minutes
10:20
DiviMundo
Рет қаралды 8 М.
Flexbox or Grid challenge // which would you use to solve these?
25:27
Divi Theme Create A CSS Grid For Divi Modules 👍👍👈👈
15:11
System 22 Web Design | Divi Theme Elementor WP
Рет қаралды 1,5 М.
Learn CSS Grid - A 13 Minute Deep Dive
13:35
Slaying The Dragon
Рет қаралды 486 М.
Create A Footer Using The Divi Theme
31:33
Ferdy Korpershoek
Рет қаралды 7 М.
你们会选择哪一辆呢#short #angel #clown
0:20
Super Beauty team
Рет қаралды 10 МЛН
Smart Appliances! New Gadgets, Versatile Utensils, Tool Items #shorts #gadgets 73
0:30
Let me show you (P12)
0:21
Discovery Boy
Рет қаралды 2,5 МЛН
Мужик психанул и купил 200 Ленд Роверов
0:19
Сергей Милушкин
Рет қаралды 3,3 МЛН
路飞被小孩吓到了#海贼王#路飞
0:41
路飞与唐舞桐
Рет қаралды 6 МЛН
Косички из морковки 🥕
0:40
Сан Тан
Рет қаралды 2,8 МЛН