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!
I barely comment on RUclips 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.
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".
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.
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.
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!
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?
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 ?
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.
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!
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.....
@@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; } }
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.
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.
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/
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!
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!
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!
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.
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?
Actually my columns won't stack and I want them too! So annoying. I have a 4 column row and when I view on mobile and tablet the columns won't stack they just smush together.
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.
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
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.
Not at all says I have a colon error line 2 blah blah blah......I regret ever getting elegant themes or divi as I have had not problems working with just a basic wix site than I have nothing extra special i to have to do for mobile. I wish they would have told you the real story that you cannot look good on mobile anything I don’t have time for this crap. I was saving money to build it myself now have to pay someone to fix this or just go to wix or whatever and spend more money
There is much easier way to keep columns in Divi.
Go to the Row Settings > Advanced > Custom CSS > Main Element & add display: flex;
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!
@@sethagee502 I'm glad I could help.
Awesome! Perfect and simple.
Thanks a lot!
Thank you so much
I barely comment on RUclips 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.
Thanks Davy :)
You're a lifesaver, Josh! Looked everywhere for this and you're the only one who came through. Works like a charm! Thank you!
Thank you!!! I appreciate your clarity, Josh. Also, that's a great tip about naming classes - I hadn't thought of the implications! 🙏
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".
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.
Good, you’re a great teacher sir, explain clearly step by step.
THANK YOU for this clear and concise explanation!
Josh, what you do for this community is incredible!
Josh you videos are incredible, making me a better web dev
Thank you so much Josh, just what I needed.
Perfect solution. Perfectly explained. Thanks Josh.
Thank you very much! This is exactly what I was looking for
Why is it still this way almost one year later? Why hasn't Divi incorporated this functionality into the Visual Builder?
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.
@@Biglex524 hes still doing it for free, I guess. so kudos to him for trying at least
this aged well, still the same issue
5 years later still the same lmao classic divi
Why isn't there a responsive toggle button for the section columns like everything else? Lol
You saved me a lot of time !
Thank you.
this has been a life saver, thanks
Thank you so much bro! Easy and allright , greetings from Perú
What a great professor you are!
Justo lo que necesitaba!! Muchas gracias Josh!! :D Y definitivamente llevaré tu curso de CSS.
Still very useful. Thanks a ton. You're awesome!
Always glad to find timeless tricks!
Outdated, the most simple way is to go on ADVANCED > MAIN ELEMENT > and write: display: flex;
@Josh Hall. Thank you for this, it saved my sanity :D Great work, I love your turorials :)
Terima kasih
Thank you
great tutorial! I used it with a 5 row! Thanks!
Muito Obrigada por compartilhar seus conhecimentos Josh. Você me salvou!!
uhhuuuulll!!! Encontrei a solução thanks Josh!
Worked great on the Astra theme, thanks!
awesome! This helped. Is css easy to learn?
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.
Did you find an answer to this? I've tried display flex and display grid and none of them work for me
@@alejandrosuarez2479 - I did not find an answer or solution to that.
I love your tutorials! Many thanks!
Than you very much for the tutorial. God bless you, really
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!
Thank you Josh!
Didn't work for Divi 4, maybe is good to update this video to Divi 4 instead please...
Hi Josh. Any reason why this doesn't seem to work on Safari?
Awesome as usual Josh!! Thank you man!!
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%?
Does this work if the module is a blurb? I havent been able to make it work
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?
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!
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 ?
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
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.
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
Any tips for when you have a 1/3 - 2/3 row to keep them on the same row?
I've had a couple questions about that...I think I'll do a version 2.0 of this soon to cover that :)
@@JoshHallco Have you done that, sir?
Incredible bro!
✨🙋♂️👍
Finalmente questo che cercavo . Grazie
Needed to shrink 3 to 2 colums for tablet: flex-wrap:wrap;
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!
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.
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.....
thanks Josh
Eres el mejor! You're the best! thanks for helping me for the fiftieth time
Thanks man! Worked like a charm!
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?
Thank you very much. It works.
what about if I want to force the view only on Tablet version but not on mobiles?
I want to find out the same!
@@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;
}
}
Thank you! New subscriber :D
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.
Thanks bro keep up the good work
It's nice, I will have to design mine and host it . Thanks
How about buttons?
hello me my problem is my slider is too big in mobile version how to adapt all this
Thank you! U saved me... :]
Hello
Thanks alot for your great help
You're awesome
Wondering how to use same method for the shop page please
What version of Divi are you working in. I don't see the icons int he lower left hand corner that you are referencing.
Super helpful, thank you!!
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.
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/
Really needed thiss thank you!!!!
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!
tried on divi 4 but didn't work
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!
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!
Now in the new version of divi, they already include the max and min width right?
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.
@@JoshHallco What about display: flex; ?
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?
9/10 you just need to make sure to clear your cache and do a hard refresh on your browser! Then it should show :)
@@JoshHallco Thank you! It's working now :D
Thanks a lot!
Great ! thank you !
no changes at all whenever i write 33 % why ????
Thanks you are awesome!
Actually my columns won't stack and I want them too! So annoying. I have a 4 column row and when I view on mobile and tablet the columns won't stack they just smush together.
I tried this but it didn’t work ?
Try clearing all caches and follow these steps:
ruclips.net/video/jzJv5Pbm974/видео.html
nice tutorial
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.
THANKYOU SOOOOO MUCH! finally!
Thank you
Perfect thank you
thank you!!
Perfect it worked!
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
i cant find
.et_pb_column
Link is not working, Josh
This does not work for me idk why
Mobol or Mobile
thank you HERO
Does/will this CSS work in any WordPress theme?
You could pull from this same method but the CSS selector will change depending on what theme you use.
This video is grerat, but I´m agree with previous comment, DIVI maybe should be! jejej wherever many thanks!
Not sure why this isn't working for me.
Be sure to clear cache and refresh browser to see all CSS changes take effect!
genius!
this didn't work for me... so frustrating
Cool
That's actually I am searching for ....................
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?
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.
Not at all says I have a colon error line 2 blah blah blah......I regret ever getting elegant themes or divi as I have had not problems working with just a basic wix site than I have nothing extra special i to have to do for mobile. I wish they would have told you the real story that you cannot look good on mobile anything I don’t have time for this crap. I was saving money to build it myself now have to pay someone to fix this or just go to wix or whatever and spend more money