How to Keep Columns on Mobile in Divi

  Рет қаралды 100,066

Josh Hall

Josh Hall

Күн бұрын

For links, resources and the code shown in the tutorial, head over to: joshhall.co/how-to-keep-colum...
If you're interested in my Divi/CSS Course, use coupon code "CSS10" to get 10% OFF! joshhall.co/product/divi-css-...

Пікірлер: 133
@Paynologic
@Paynologic 2 жыл бұрын
There is much easier way to keep columns in Divi. Go to the Row Settings > Advanced > Custom CSS > Main Element & add display: flex;
@sethagee502
@sethagee502 Жыл бұрын
Brilliant! Thank you so much! none of the other fixes were working for me!! Of course, when it comes to CSS, I'm kinda lost, but following every step, I still couldn't get these to work!
@Paynologic
@Paynologic Жыл бұрын
@@sethagee502 I'm glad I could help.
@ItsNicoleD
@ItsNicoleD Жыл бұрын
Awesome! Perfect and simple.
@lastarena
@lastarena 3 жыл бұрын
You're a lifesaver, Josh! Looked everywhere for this and you're the only one who came through. Works like a charm! Thank you!
@KerrieRedgate
@KerrieRedgate 3 жыл бұрын
Thank you!!! I appreciate your clarity, Josh. Also, that's a great tip about naming classes - I hadn't thought of the implications! 🙏
@kajetankrott5754
@kajetankrott5754 5 жыл бұрын
Josh, what you do for this community is incredible!
@mojeff314
@mojeff314 3 жыл бұрын
Thank you. So simple. You mention in the video naming convention. One good practice to help with collisions is to prefix your personal classes with something like your company or personal name initials. So for instance, I prefix my class names with "ma".
@davyatu9769
@davyatu9769 4 жыл бұрын
I barely comment on KZbin videos, but for this one my conscience told me that I had to! You're a hero, brother. Thank you so much for everything and keep it up.
@JoshHallco
@JoshHallco 4 жыл бұрын
Thanks Davy :)
@bonorbitz
@bonorbitz 4 жыл бұрын
Why is it still this way almost one year later? Why hasn't Divi incorporated this functionality into the Visual Builder?
@Biglex524
@Biglex524 4 жыл бұрын
what's worse is that Josh is the only person on youtube to describe right, the guy from elegant themes videos fucking sucks at explaining things.
@eikoschmidtke320
@eikoschmidtke320 3 жыл бұрын
@@Biglex524 hes still doing it for free, I guess. so kudos to him for trying at least
@lucas7370
@lucas7370 2 жыл бұрын
this aged well, still the same issue
@shaguncreations.
@shaguncreations. 3 жыл бұрын
Good, you’re a great teacher sir, explain clearly step by step.
@lolitadesignz
@lolitadesignz Жыл бұрын
You are awesome! I watched multiple videos before finding yours, and almost gave up until you broke it down so simply and gave us very simple steps to do it ourselves. Then you gave us the code! AHHH and it works, bro you saved me the biggest headache on my e-commerce site, thank you so much! I've been putting this off until now because the steps in the other videos weren't working for me, I was afraid I would have to buy a plugin but nope, thanks for being awesome!
@Kcorey
@Kcorey 3 жыл бұрын
I watched a similar video. Your description is much clearer than other people's videos! Your video is included how to use the inspect-Tool, to rewrite and add to css that is very clear, and if you have other themes, you can easily add code by doing the same as in this video.
@RuppJean
@RuppJean 3 жыл бұрын
Perfect solution. Perfectly explained. Thanks Josh.
@ricardoelizondocr
@ricardoelizondocr 3 жыл бұрын
Justo lo que necesitaba!! Muchas gracias Josh!! :D Y definitivamente llevaré tu curso de CSS.
@rgbcom
@rgbcom 4 жыл бұрын
What a great professor you are!
@shaf747
@shaf747 5 жыл бұрын
Awesome as usual Josh!! Thank you man!!
@wendymason3263
@wendymason3263 2 жыл бұрын
Thank you so much Josh, just what I needed.
@gillianhersh4272
@gillianhersh4272 8 ай бұрын
THANK YOU for this clear and concise explanation!
@jessicagarcia8287
@jessicagarcia8287 4 жыл бұрын
Muito Obrigada por compartilhar seus conhecimentos Josh. Você me salvou!!
@aliceleblanc7318
@aliceleblanc7318 4 жыл бұрын
I love your tutorials! Many thanks!
@brodybestluck
@brodybestluck 2 жыл бұрын
Josh you videos are incredible, making me a better web dev
@NicksStuff
@NicksStuff 4 жыл бұрын
Worked great on the Astra theme, thanks!
@Carorca2
@Carorca2 3 жыл бұрын
this has been a life saver, thanks
@Rivasme
@Rivasme 4 жыл бұрын
great tutorial! I used it with a 5 row! Thanks!
@landisorso2856
@landisorso2856 5 жыл бұрын
Thanks man! Worked like a charm!
@mwpiotrek
@mwpiotrek 2 жыл бұрын
Thank you Josh!
@adrianas.8256
@adrianas.8256 4 жыл бұрын
Finalmente questo che cercavo . Grazie
@TECStudy
@TECStudy 7 ай бұрын
You saved me a lot of time ! Thank you.
@peperodriguez3407
@peperodriguez3407 4 жыл бұрын
Than you very much for the tutorial. God bless you, really
@cheeseybud
@cheeseybud 3 жыл бұрын
@Josh Hall. Thank you for this, it saved my sanity :D Great work, I love your turorials :)
@Montes11985
@Montes11985 3 жыл бұрын
Thank you so much bro! Easy and allright , greetings from Perú
@HipstersNetwork
@HipstersNetwork 5 жыл бұрын
Really needed thiss thank you!!!!
@dadg15
@dadg15 4 жыл бұрын
Eres el mejor! You're the best! thanks for helping me for the fiftieth time
@antlerup
@antlerup 5 жыл бұрын
Super helpful, thank you!!
@arkianderson8738
@arkianderson8738 5 жыл бұрын
THANKYOU SOOOOO MUCH! finally!
@SonaalShandilya
@SonaalShandilya 10 ай бұрын
Still very useful. Thanks a ton. You're awesome!
@JoshHallco
@JoshHallco 10 ай бұрын
Always glad to find timeless tricks!
@82Prisma
@82Prisma 3 жыл бұрын
uhhuuuulll!!! Encontrei a solução thanks Josh!
@manolomaru
@manolomaru 3 жыл бұрын
Incredible bro! ✨🙋‍♂️👍
@heraldhida4276
@heraldhida4276 4 жыл бұрын
Thanks bro keep up the good work
@sergioadriandiaz7795
@sergioadriandiaz7795 3 жыл бұрын
thanks Josh
@galer041
@galer041 5 жыл бұрын
It's nice, I will have to design mine and host it . Thanks
@comeripoche1456
@comeripoche1456 4 жыл бұрын
Thank you very much. It works.
@dennizjansen
@dennizjansen 5 жыл бұрын
Hi Josh, great video's on your chanel! Learned a lot of new things, and things I thought I did well you did even quicker and easier. One thing I'm still struggling with in regard to keeping columns though. If you have one row with 2 x 5 modules, in my case blurbs, when you use this method for 2 columns it divides the blurbs in 2x2x2x2x1x1 instead of the desired 2x2x2x2x2. I can't seem to figure this out.
@Backstage798
@Backstage798 4 жыл бұрын
Thanks you are awesome!
@m44verick
@m44verick 4 жыл бұрын
Perfect it worked!
@jeanpaulwebdev8302
@jeanpaulwebdev8302 4 жыл бұрын
Thank you! U saved me... :]
@yairsoto6423
@yairsoto6423 3 жыл бұрын
Thank you! New subscriber :D
@seakmouyhong
@seakmouyhong 5 жыл бұрын
nice tutorial
@skedesignprotv
@skedesignprotv 3 жыл бұрын
Great ! thank you !
@thebibleproof
@thebibleproof 4 жыл бұрын
Thank you Josh, maybe I missed it, but can you do a quick tutorial for using differently cropped image for the hero section on mobile?
@GetNicecoach
@GetNicecoach 4 жыл бұрын
Perfect thank you
@ajaelee84
@ajaelee84 4 жыл бұрын
thank you!!
@AnchuaProjects
@AnchuaProjects 3 жыл бұрын
Thanks a lot!
@RahmatAli-zp9iy
@RahmatAli-zp9iy 4 жыл бұрын
Thank you, but can I apply different order for other columns at the same time? Like I wanna have 4 columns in mobile version since they are just icons.
@imti2337
@imti2337 5 жыл бұрын
thank you HERO
@aiRCoft
@aiRCoft 5 жыл бұрын
This is working fine for me when viewed on a smartphone in portrait mode, however, in landscape mode, it displays only one column stacked, with the modules aligned to the left side of the page, (although they're all set to be center-aligned)... Do you know what might be causing this, and/or how to get rows to retain the same number of columns when in landscape as in portrait? Thanks!
@RobinAWhite
@RobinAWhite 2 жыл бұрын
I'm having the same problem now, two years later. That, and it's keeping columns side-by-side on phones but not tablets for some reason.
@Crronor
@Crronor 4 жыл бұрын
Thank you
@sufaatalkautsar3601
@sufaatalkautsar3601 11 ай бұрын
Terima kasih Thank you
@brainynbrawny9562
@brainynbrawny9562 4 жыл бұрын
Great video as always, Josh. I'd like to see how to maintain columns on tablet and mobile when they are not all the same size. For instance, three columns where the center one is larger than the end two. This is what I'm currently searching for an answer to and have yet to find it.
@alejandrosuarez2479
@alejandrosuarez2479 9 ай бұрын
Did you find an answer to this? I've tried display flex and display grid and none of them work for me
@inzaneskins
@inzaneskins 7 ай бұрын
@@alejandrosuarez2479 - I did not find an answer or solution to that.
@auwssessam6734
@auwssessam6734 5 жыл бұрын
Hello Thanks alot for your great help You're awesome Wondering how to use same method for the shop page please
@JanineMKartist
@JanineMKartist Жыл бұрын
awesome! This helped. Is css easy to learn?
@paulwhitehead1816
@paulwhitehead1816 4 жыл бұрын
Josh, can you please do a new divi 4.0 update to this video? Some things have changed with the transform option and I'd like to see a row w/3 columns example. Thank you!
@blisscoachiingandwellness
@blisscoachiingandwellness 4 жыл бұрын
What version of Divi are you working in. I don't see the icons int he lower left hand corner that you are referencing.
@piotrszczygie2931
@piotrszczygie2931 3 жыл бұрын
Hello, thank you, great Video - I have a question. How to do the same with 4 columns where first is 50% of width and next are for example 13%?
@lovedesignwork2394
@lovedesignwork2394 4 жыл бұрын
Didn't work for Divi 4, maybe is good to update this video to Divi 4 instead please...
@capitanchorizzo
@capitanchorizzo 4 жыл бұрын
That's a fabulous one, Josh, thank you! In my case though - 1 row with 6 items in 3 columns right on top of each other (2 x 3 items) the top 5 items behave nicely on mobile, but the last one does go down on a line of it's own. Is that something to do with this «last-child» thing? Would you know how to fix this? Thanks and keep it up!
@JoshHallco
@JoshHallco 4 жыл бұрын
Yeah it could be depending on the elements you're using this with. I'd be sure to clear cache and refresh browser to make sure all code is displaying correctly and if so, just play around with the percentage/padding and margins to help line up!
@HifyTech
@HifyTech 4 жыл бұрын
it half worked for me, I am still on 2 columns on phone version even after typing !important pls this is important edit: it isn't working well when used with the divi shop module, but everything is fine is it is an image or simiple blurb. How do i implement this with the woocomerce shop module
@shivamathiya8384
@shivamathiya8384 5 жыл бұрын
Awesome that worked for me But i am still facing problems between 1000 px - 1980px widths those icons are buldging back to 200px size looking terrible please help.....
@abigroman
@abigroman 4 жыл бұрын
Needed to shrink 3 to 2 colums for tablet: flex-wrap:wrap;
@jssaylor
@jssaylor 5 жыл бұрын
Any tips for when you have a 1/3 - 2/3 row to keep them on the same row?
@JoshHallco
@JoshHallco 5 жыл бұрын
I've had a couple questions about that...I think I'll do a version 2.0 of this soon to cover that :)
@mithrurachamalla6408
@mithrurachamalla6408 4 жыл бұрын
@@JoshHallco Have you done that, sir?
@MB-sl8pw
@MB-sl8pw 4 жыл бұрын
Didn't Elegant Themes sell Divi showing that you could do this in the designer ? Design for desktop change designer to tablet set text size, change designer to mobile change design and make design changes there ?
@tianapayne1924
@tianapayne1924 4 жыл бұрын
Will this still work if the code in inspect says .et_pb_row instead of column? Are rows and columns treated the same in divi or is "row" just the new word now for "column"? anyway - this code didn't seem to do anything.
@alfredstanley4879
@alfredstanley4879 3 жыл бұрын
genius!
@ultramarinefilms8042
@ultramarinefilms8042 3 жыл бұрын
no other option to reduce the column width in divi? like elementer we can reduce column width then the second column will automaticaly come to right
@goshenweb
@goshenweb 5 жыл бұрын
Josh - the opposite is what I have found very problematic working with Divi builder. I had a row with three columns which I struggled to get to stack on tablet (iPad mini). Rather, the columns became extremely thin width and would not stack (it stacked as expected on smartphone).i had to manually style the columns to get it to eventually stack. Such a shame that Divi is so inconsistent with the way different elements work. Another such issue is with the Make columns same height which never seem to work.
@JoshHallco
@JoshHallco 5 жыл бұрын
mmm that's odd. Divi automatically stacks all modules and columns on mobile so you must've had some code, plugin or something conflicting with it. All pretty easily fixed and customized with a good understanding of CSS. Same with the vertical columns. I know that's a little tricky and maybe one day Divi will add it which would be nice. This is a good solution in the meantime: divi.space/css-course/how-to-set-equal-column-heights-using-flexbox/
@samuri2011
@samuri2011 2 жыл бұрын
how do you make this work if you have a custom gutter and 100% full width collumns?? It didnt work on my screen and i think thats why
@realaleh
@realaleh 10 ай бұрын
Does this work if the module is a blurb? I havent been able to make it work
@veyspixelboy
@veyspixelboy 2 жыл бұрын
it's really good thank you , but you have three pictures and I have four. I don't want the forth goes down and I just want to see the fourth when I scroll horizontally, if you understand what I mean, this is possible with divi?
@JoshHallco
@JoshHallco 2 жыл бұрын
Yep you can just tweak the percentage to 25% on mobile or you can create a class for 2 columns (50%), 3 columns (33%) 4 columns (25%) etc!
@ewallet2u
@ewallet2u 5 жыл бұрын
Now in the new version of divi, they already include the max and min width right?
@JoshHallco
@JoshHallco 5 жыл бұрын
Yeah there are settings for those now though I still find myself going this route as you have to manually set it the px with the Divi options. Either way is fine though.
@nikschwarten
@nikschwarten 5 жыл бұрын
@@JoshHallco What about display: flex; ?
@sarajavid237
@sarajavid237 4 жыл бұрын
Dear Josh, My translated website with Divi 4.0 have 2 Languages, my English language is LTR but my other languages is RTL. My problem is RTL MENU on mobile and tablet view. I don't know how can I have to menu with different directions ( LTR and RTL ) on mobile and tablet view. Could you please help me!
@rampatuga5390
@rampatuga5390 4 жыл бұрын
no changes at all whenever i write 33 % why ????
@aniketjoshi7518
@aniketjoshi7518 5 жыл бұрын
Cool
@zoiphotographer
@zoiphotographer 4 жыл бұрын
what about if I want to force the view only on Tablet version but not on mobiles?
@hellacat5610
@hellacat5610 4 жыл бұрын
I want to find out the same!
@zoiphotographer
@zoiphotographer 4 жыл бұрын
​@@hellacat5610 Here it is the correct code: /* force columns view only on TABLET devices */ @media only screen and ( min-width: 768px ) and ( max-width: 980px ) { .two-columns .et_pb_column { width: 50%!important; } .three-columns .et_pb_column { width: 33.33%!important; } .four-columns .et_pb_column { width: 25%!important; } }
@cryo5234
@cryo5234 2 жыл бұрын
Outdated, the most simple way is to go on ADVANCED > MAIN ELEMENT > and write: display: flex;
@MrBangization
@MrBangization 3 жыл бұрын
Hi Josh. Any reason why this doesn't seem to work on Safari?
@MichaelEugeneShaner
@MichaelEugeneShaner 5 жыл бұрын
Does/will this CSS work in any WordPress theme?
@JoshHallco
@JoshHallco 5 жыл бұрын
You could pull from this same method but the CSS selector will change depending on what theme you use.
@ed5616
@ed5616 4 жыл бұрын
tried on divi 4 but didn't work
@castleacadia4095
@castleacadia4095 4 жыл бұрын
Hello Josh and everyone! I put this CSS into my website (only difference is that its for four columns) but no change is happening and I'm not sure why. Any suggestions?
@JoshHallco
@JoshHallco 4 жыл бұрын
9/10 you just need to make sure to clear your cache and do a hard refresh on your browser! Then it should show :)
@castleacadia4095
@castleacadia4095 4 жыл бұрын
@@JoshHallco Thank you! It's working now :D
@terangaworldservice9727
@terangaworldservice9727 4 жыл бұрын
hello me my problem is my slider is too big in mobile version how to adapt all this
@towfiqueahmed1111
@towfiqueahmed1111 3 жыл бұрын
i cant find .et_pb_column
@mithrurachamalla6408
@mithrurachamalla6408 4 жыл бұрын
Link is not working, Josh
@manchando1
@manchando1 4 жыл бұрын
This video is grerat, but I´m agree with previous comment, DIVI maybe should be! jejej wherever many thanks!
@mauamolat
@mauamolat 4 жыл бұрын
How about buttons?
@rishabhhalder3688
@rishabhhalder3688 3 жыл бұрын
That's actually I am searching for ....................
@wypse
@wypse Ай бұрын
This does not work for me idk why
@Bonnie-Lewis-Australia
@Bonnie-Lewis-Australia 9 ай бұрын
I tried this but it didn’t work ?
@JoshHallco
@JoshHallco 9 ай бұрын
Try clearing all caches and follow these steps: kzbin.info/www/bejne/oKutp2iGl9JsbZY
@abbynormal8994
@abbynormal8994 5 жыл бұрын
Do you ever have the problem where what you’re seeing on your mobile view doesn’t match what actually shows up on your phone?
@JoshHallco
@JoshHallco 5 жыл бұрын
Yeah that does occasionally happen especially if you're looking through the Divi VB. I tend to use inspect element then look at an actual phone then adjust accordingly.
@rufi6160
@rufi6160 3 жыл бұрын
Mobol or Mobile
@ignitemedia7219
@ignitemedia7219 4 жыл бұрын
Not sure why this isn't working for me.
@JoshHallco
@JoshHallco 4 жыл бұрын
Be sure to clear cache and refresh browser to see all CSS changes take effect!
@tonysamaniego7875
@tonysamaniego7875 3 жыл бұрын
this didn't work for me... so frustrating
@zennybarbosa3805
@zennybarbosa3805 2 жыл бұрын
Thank you for trying, it didn't work for me. And shame on Elegant Themes (Divi)
@paperlegend2499
@paperlegend2499 4 жыл бұрын
this just broke my website....
How to Optimize Divi for Mobile Using the Visual Builder
9:58
Josh Hall
Рет қаралды 122 М.
How To Manually Set Divi Column Stacking Order on Mobile [Super Easy]
7:03
Smart Sigma Kid #funny #sigma #comedy
00:25
CRAZY GREAPA
Рет қаралды 22 МЛН
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27
Who has won ?? 😀 #shortvideo #lizzyisaeva
00:24
Lizzy Isaeva
Рет қаралды 61 МЛН
Learn Divi Responsive Design In 10 Minutes
10:20
DiviMundo
Рет қаралды 8 М.
How to Create a Custom Text Underline Effect in Divi
13:35
Josh Hall
Рет қаралды 9 М.
How to use Inspect Element to edit CSS in Divi
19:41
Josh Hall
Рет қаралды 64 М.
How to keep columns in mobile view in DIVI
7:43
Farjana Rashid
Рет қаралды 5 М.
Create A Custom Header Using The Divi Theme
38:58
Ferdy Korpershoek
Рет қаралды 20 М.
How to Make Divi Responsive (Easy Methods!)
12:49
Wade McMaster - Creator Impact
Рет қаралды 16 М.
How to Create Entire Website with ChatGPT (No Coding)
15:15
Website Learners
Рет қаралды 370 М.
Divi For Beginners: How to Easily Create a Global Footer
23:33
System 22 Web Design | Divi Theme Elementor WP
Рет қаралды 461