No video

How To Make The Divi Blog Grid Equal Height

  Рет қаралды 14,362

Pee-Aye Creative

Pee-Aye Creative

3 жыл бұрын

In this tutorial, I will show you how to equalize the height of the Divi Blog module grid "boxes" with a few extra bonuses.
Blog Post + Snippets: www.peeayecrea...
How do I make the blog grid equal height? This is a very common question for Divi users setting up the Blog module. There are no other tutorials on this, so as always we though we should provide a great solution for this need. So in this tutorial, I will show you how to equalize the Divi Blog module grid height.
There is already a solution provided by Elegant Themes in their chat support help docs called Blog Module equal height grid “boxes” with JavaScript. So credit goes to them for the original code, but we have improved it greatly and also will explain it much better than they do. We also include some bonus snippets, such as aligning the buttons to the bottom.

Пікірлер: 131
@rickarden7731
@rickarden7731 2 жыл бұрын
I get this request all the time, You have the only worth while tutorial online for this. You are my first go to source for this kind of thing.
@PeeAyeCreative
@PeeAyeCreative 2 жыл бұрын
I'm glad you are finding my resources valuable! 🙂
@charirose.design
@charirose.design Ай бұрын
You are so humble! Love all your tuts, thank you!
@PeeAyeCreative
@PeeAyeCreative Ай бұрын
You're welcome!
@rickusjansenvanrensburg2643
@rickusjansenvanrensburg2643 2 жыл бұрын
Hey Nelson, I have been following your tutorials for quite some time now and they have helped tremendously. If you feel like your efforts are ignored or not noticed, please use this comment to know that you are absolutely amazing! Great work man
@lifesfluff
@lifesfluff 10 ай бұрын
please don't apologize some people do want to understand .. thank you for the help ... maybe adding time stamps for people :)
@_mzkr_
@_mzkr_ 2 жыл бұрын
Purely as mental rambling, I found it easier stacking the posts and then using CSS Grid to get them to auto flow. I then used flexbox stretch in the grid cells to get them to go to the same height. I looked at the attached article which had a great breakdown of the jQuery code but could not see (apart from a few areas for adding customisation) where using the jQuery code would be better than doing it with CSS. I was hoping to get my head around it better so I was not missing the point if you get my drift.
@lorenzozamagni4894
@lorenzozamagni4894 9 ай бұрын
man that was such a very copy paste fast fix. It worked perfectly. thank you so much!
@PeeAyeCreative
@PeeAyeCreative 9 ай бұрын
You're welcome!
@ongjanette
@ongjanette 3 жыл бұрын
Thanks! I don't mind the "rambling" ;) it is a bit more complicated and a lot more code than I'm used to, but I like to know what's going on, and really appreciate all the work u do. I still can't quite wrap my head around the idea that something so simple with design will require so much backend work in a website! 😜 It's a good amount of effort to compile the code, and another extra bit of work to try to explain it as simply as possible for ppl like me. So thanks for sharing it on KZbin!
@PeeAyeCreative
@PeeAyeCreative 3 жыл бұрын
I'm glad you appreciate it! I definitely felt off on this one, knowing it was overwhelming and difficult to break down well. But even so, a copy and paste is really all it takes, I just wanted to provide some education also 😊
@ongjanette
@ongjanette 3 жыл бұрын
@@PeeAyeCreative oh, the explanation was clear and accessible enough even for me. Just saying the code looks intimidating. 😜
@LeonieFurlow
@LeonieFurlow 2 ай бұрын
Thanks! Was tearing my hair out over this before I found this. I think I might be done before the next part.
@MortenVestergaard1
@MortenVestergaard1 3 жыл бұрын
Wow.. Thank you Nelson. Just found your channel. Started using Divi about a month ago after using Avada for several years. I have been both awestruck and frustrated with the Divi theme after buying it. There are so many things that it doesn't do "out of the box" - for example you can't select how many columns you want to show in this blog module from the UI - you have to change it using CSS. ALso, I find there are so many things that one should be able to do using the builder - like really simple things such as a:hover { text-decoration: underline; } - you can't do that from the UI, it has to be done with CSS, but at the same time you can add other hover effects to links from the UI.. It doesn't makes sense to me the way it has been designed - like what you can do using the builder and what you have to use CSS and js for.. Well - I guess I just have to get more experience using the theme :) Anyway - just wanted to say, that I'm glad I found your channel. That will probably make the transition to Divi less painful.
@PeeAyeCreative
@PeeAyeCreative 3 жыл бұрын
Divi was the first of it's kind, which means it is the oldest. So over the past 1.5 years and into the next year Divi is being rewritten from the ground up. So you want see many updates lately, but don't worry, once the foundation is ready it will be better than any competitor. I don't think Divi is missing much at this point. It is meant as a framework, so adding custom CSS and JS is usually beyond the core. Not always, but mostly.
@blaircox1589
@blaircox1589 3 жыл бұрын
I'm working on a client site and tried their 'official' method, however I couldn't get it to do anything. So happy to give your method a try! Thanks!
@PeeAyeCreative
@PeeAyeCreative 3 жыл бұрын
Hope it works out for you!
@blaircox1589
@blaircox1589 3 жыл бұрын
@@PeeAyeCreative thought I'd reply here rather than the blog. I too have followed the tutorial and applied this to a recent client site that is just wrapping up. But as with the older method on Elegant themes in their blog/tutorial section, nothing happens. It's not throwing an error. I've found that if I start writing publicly, I suddenly find the issue - so giving this step a try ;)
@blaircox1589
@blaircox1589 3 жыл бұрын
Okay, setting line 3 to false, changes the heights of each entry to be equal, which is great. Just leaves the read more buttons/links after the content. So set to true (as provided in snippet), no change to the height or read more link position. Set to false, fixes the height.
@duffeyboy
@duffeyboy 3 жыл бұрын
my clients, and the Marketing team I work with, will love this solution! thanks, Nelson!!🤘🏼
@PeeAyeCreative
@PeeAyeCreative 3 жыл бұрын
That's great, you're welcome!
@CleanAndPureLife
@CleanAndPureLife Жыл бұрын
You solved my issue with such clarity and precision....and very quickly. Thanks so much, Nelson!
@jovylouverzano
@jovylouverzano 2 жыл бұрын
Most of your tutorials are gold! Wishing more people see your efforts. Grateful to you nelson.
@PeeAyeCreative
@PeeAyeCreative 2 жыл бұрын
Thank you so much!
@khachigsarkissian3329
@khachigsarkissian3329 Жыл бұрын
Dude, you legit saved me with this tutorial. Thank you so much
@PeeAyeCreative
@PeeAyeCreative Жыл бұрын
You're welcome!
@saianassociates
@saianassociates Жыл бұрын
Hi Nelson, this video has been very clear and concise. I could solve my issue easily. Thanks a megaton, bro! Awesome experience. Became your follower from now.
@PeeAyeCreative
@PeeAyeCreative Жыл бұрын
I'm so glad you like the video, and I hope you continue to find all my resources valuable!
@viktoriakiss3359
@viktoriakiss3359 3 жыл бұрын
Again another useful tutorial from Nelson, despite he seems a bit more disorganized than usual. My favorite Divi support blog.
@PeeAyeCreative
@PeeAyeCreative 3 жыл бұрын
Can you tell me what feels disorganized? The nature of this tutorial is very complicated compared to most.
@viktoriakiss3359
@viktoriakiss3359 3 жыл бұрын
@@PeeAyeCreative If this is not the right word, sorry for that. And please do not take it as a critique, as the content is great and I personally love his style. Yet when i.e. he says: "by the way, if you don't even care, then you are done" one may think what comes is not that important. After which he keeps laughing during the explanation, as if he did not believe that anyone is interested in or would get, what he explains. The tutorials I've seen from him up till now seemed more focused or confident. For someone, who is less biased (positively) about him than me, this may be strange. That is all I meant. But if you find my comment negative, I am more than happy to delete it or change it.
@hillary2625
@hillary2625 2 жыл бұрын
Hey Nelson! This video and the blog was super helpful to understand BUT it didn't work for me, so I followed the elegant themes version and that did the trick.
@PeeAyeCreative
@PeeAyeCreative 2 жыл бұрын
Okay sure glad theirs was what you needed
@maksymdavydchuk
@maksymdavydchuk 3 жыл бұрын
Thank you for the tutorial. We also can choose fullwidth layout and style it via CSS grid.
@PeeAyeCreative
@PeeAyeCreative 3 жыл бұрын
You could sure, with many limitations and drawbacks. See the bottom of the tutorial for an explanation.
@ryanlindsey649
@ryanlindsey649 6 ай бұрын
Great tutorial and thanks for the code!
@PeeAyeCreative
@PeeAyeCreative 6 ай бұрын
You're welcome!
@fahimaakter6358
@fahimaakter6358 Жыл бұрын
Thanks so much, I follow your steps and it works! Thank you for your efforts
@pctechsupporthelp1
@pctechsupporthelp1 Ай бұрын
Thank you Nelson !!!!!!!!!!!!!!!!!!! :) :) :)
@PeeAyeCreative
@PeeAyeCreative Ай бұрын
You're welcome!
@abusalehridoy8258
@abusalehridoy8258 3 жыл бұрын
Lifesaving tutorial ❤ Thank you! Big fan!!
@PeeAyeCreative
@PeeAyeCreative 3 жыл бұрын
Glad you liked it! I'm happy to hear you are a fan :)
@HanyDanial
@HanyDanial Жыл бұрын
Thank you so much
@PeeAyeCreative
@PeeAyeCreative Жыл бұрын
You're welcome!
@BrookeHawkins-oh7nf
@BrookeHawkins-oh7nf Жыл бұрын
Thanks so much for this code! It worked for me, except there is some white space at the bottom of each blog post. Do you know how to remove that?
@MirkoMancini
@MirkoMancini 3 жыл бұрын
Another great video Nelson! Thank you 😌
@PeeAyeCreative
@PeeAyeCreative 3 жыл бұрын
Thanks Mirko, glad you like it!
@aejazshaan7424
@aejazshaan7424 3 жыл бұрын
Another quality content Nelson! Thanks a lot brother
@PeeAyeCreative
@PeeAyeCreative 3 жыл бұрын
You're welcome, glad you like it!
@terrrace6044
@terrrace6044 2 жыл бұрын
Mate, you are truly great! Thanks a lot for your help!
@PeeAyeCreative
@PeeAyeCreative 2 жыл бұрын
Happy to help!
@gurushankar2004
@gurushankar2004 2 жыл бұрын
Great one
@PeeAyeCreative
@PeeAyeCreative 2 жыл бұрын
Glad you like it!
@crawfordpaul7890
@crawfordpaul7890 2 жыл бұрын
This worked great!! Thanks for another excellent tutorial.
@neenahnite
@neenahnite 2 жыл бұрын
You look like the result of Peter McKinnon and Louis C.K. having a baby :) Random note aside, your tutorials have been amazing and incredibly helpful as I build my first official website!
@claus31130
@claus31130 3 жыл бұрын
Nice .... looking forward to try and use it
@PeeAyeCreative
@PeeAyeCreative 3 жыл бұрын
Hope you like it!
@claus31130
@claus31130 3 жыл бұрын
@@PeeAyeCreative I worked like a charm THX again ⭐⭐⭐⭐⭐from here
@Annacoolman
@Annacoolman Жыл бұрын
This didn't work for me... Is it because I have two things in CSS Class area? I have them separated by a space. Your videos are great! Helped me so much navigating divi and coding.
@terryg4415
@terryg4415 3 жыл бұрын
Thank you. Very useful!
@PeeAyeCreative
@PeeAyeCreative 3 жыл бұрын
Glad it was helpful!
@HelenLeathers
@HelenLeathers Жыл бұрын
Thanks so much this has worked so well on my blog page, but in creating another page pulling through 'projects' for the divi blog module instead, it's not working. What do i need to change in the code to make it work? If possible
@user-xo5dp9ud9c
@user-xo5dp9ud9c 7 ай бұрын
Did you ever get this working for your "projects/portfolio" page?
@RobertoRaymon
@RobertoRaymon 7 ай бұрын
I think swap out pa_equalize_button_height for et_pb_portfolio_item within the code
@yourcoachingjourney
@yourcoachingjourney 7 ай бұрын
I did thank you, I can't now remember what I did exactly but it's all equal 40 projects later! @@user-xo5dp9ud9c
@terryg4415
@terryg4415 3 жыл бұрын
By the way, you’re also a better teacher…
@PeeAyeCreative
@PeeAyeCreative 3 жыл бұрын
I'm so glad to hear it :)
@flashinpan
@flashinpan 7 ай бұрын
Fantastic.
@PeeAyeCreative
@PeeAyeCreative 7 ай бұрын
Thank you!
@aminulislamjoy9882
@aminulislamjoy9882 2 жыл бұрын
Thank you it's a helpful video
@PeeAyeCreative
@PeeAyeCreative 2 жыл бұрын
You're welcome!
@estrastyven3752
@estrastyven3752 2 жыл бұрын
Dear Nelson, I found an empty white space under read more after the second refresh, do you happen to know why it happened?
@_BiGe
@_BiGe Жыл бұрын
thanks a lot!
@PeeAyeCreative
@PeeAyeCreative Жыл бұрын
You're welcome!
@allpakpropertiesdotcom
@allpakpropertiesdotcom 10 ай бұрын
Dear Nelson, I followed and did all the step you taught but still no difference please help me out, is that because i have the newer version of Divi?
@cshamus1
@cshamus1 2 жыл бұрын
This did not work for me. I am using your child theme and placed the CSS in style.css and the JS in the scripts.js area with removing the tags. Any help?
@kadiska
@kadiska 2 жыл бұрын
Thank you very much :)
@samanthashi552
@samanthashi552 2 жыл бұрын
Thank you. It is very helpful
@PeeAyeCreative
@PeeAyeCreative 2 жыл бұрын
Glad it was helpful!
@wendymason3263
@wendymason3263 10 ай бұрын
Love this video, thank you so much. A quick question: how do I add spacing around the featured image, currently it takes up the entire width of the grid box?
@PeeAyeCreative
@PeeAyeCreative 10 ай бұрын
For that you would need to check my other video, as we cover very specific topics in each video. www.peeayecreative.com/category/tutorials/divi-blog/
@lepirex
@lepirex Жыл бұрын
You rock!
@PeeAyeCreative
@PeeAyeCreative Жыл бұрын
Thanks 😊
@arc9802
@arc9802 2 жыл бұрын
This is great! Is there a way to make this 4 columns instead of 3?
@PeeAyeCreative
@PeeAyeCreative 2 жыл бұрын
Yes there are other tutorials about that subject.
@bethysoul4980
@bethysoul4980 Жыл бұрын
for somehow isn't working for me :(
@denisporretti1329
@denisporretti1329 2 жыл бұрын
Hey Nelson, Does this code work with different custom post types as well? Because I tried to use it with my site but it doesn't seem to solve the alignment problem with the grid that shows up when searching for specific post types... Thank you!
@PeeAyeCreative
@PeeAyeCreative 2 жыл бұрын
I don't know, it seems like the post type would not be a factor, as it is still the same blog module.
@denisporretti1329
@denisporretti1329 2 жыл бұрын
​@@PeeAyeCreative Somehow I managed to solve it by adding some metadata items and then removing them with css Thank you Nelson!
@user-xo5dp9ud9c
@user-xo5dp9ud9c 7 ай бұрын
@@denisporretti1329 So you got it to work with custom post types ...such as "projects/portfolio"?
@ideaplusagency
@ideaplusagency 6 ай бұрын
It's different classes
@chloefeather_
@chloefeather_ 2 жыл бұрын
It works great for me except for some reason this creates a large gap between the end of the content and the end of the box (rather than just going to the height of the largest post, it extends further than that), is there any way to fix this?
@QuestioningYam
@QuestioningYam 9 ай бұрын
How do I make it so there are 4 blog posts showing on one line? Whenever I have it set to 4, the 4th one is under the top three.
@PeeAyeCreative
@PeeAyeCreative 9 ай бұрын
I don't think that is related to this tutorial. We do have one about column number but I'm not sure if it is compatible or not.
@dedisupardi2815
@dedisupardi2815 3 ай бұрын
Cool 🎉
@PeeAyeCreative
@PeeAyeCreative 3 ай бұрын
🎉
@smj997
@smj997 2 жыл бұрын
sounds like it doesn't work when post type is set on projects! :(
@PeeAyeCreative
@PeeAyeCreative 2 жыл бұрын
Really? I didn't check that but it seems odd. Can 6share a link?
@smj997
@smj997 2 жыл бұрын
@@PeeAyeCreative can you please give me solution? I don't have more time :(
@smj997
@smj997 2 жыл бұрын
@Pee-Aye Creative Hi, it seems my comment didn't appear here :| I'll mention it again: when everything is set, on the same module, when you set the content on blog posts, everything works good and the blocks are at the same size. but when you switch it to projects, the setting doesn't apply and block
@user-xo5dp9ud9c
@user-xo5dp9ud9c 7 ай бұрын
Did you ever get this to work with "projects"?
@RobertoRaymon
@RobertoRaymon 7 ай бұрын
I think swap out pa_equalize_button_height for et_pb_portfolio_item within the code
@QuestioningYam
@QuestioningYam 11 ай бұрын
So I'm struggling here, I can't even figure out how to add a button for read more, it is only text with no button options present. Also, my main issue right now. How do I make the featured image for the blog, overlay each item in the grid list. I can't find anyone doing this or explaining it.
@PeeAyeCreative
@PeeAyeCreative 11 ай бұрын
I have tutorials on all of that, it may help to view the posts on our blog: www.peeayecreative.com/category/divi-blog/
@QuestioningYam
@QuestioningYam 11 ай бұрын
@@PeeAyeCreative thank you. Sorry if I sounded aggressive, I was pulling my hair out
@basnauw
@basnauw 2 жыл бұрын
Hey Nelson ! I'm encountering an issue with a client site, and I think you can resolve it in one second.. I came on this video but my problem is not exactly the same. My problem is that my client is going to add images from different sizes and the thing I want is to get an alignment of the images. I would like to automatically resize the images they upload to horizontally align my blog titles.. Is it possible ? PS : Sorry for my english, I'm a french Divi guy.
@mrbig3386
@mrbig3386 2 жыл бұрын
did everything u said and its not working for me.
@trobh1963
@trobh1963 Жыл бұрын
Does this still work? I been through the video three times and the heights are unequal.
@user-xo5dp9ud9c
@user-xo5dp9ud9c 7 ай бұрын
How about doing this for projects/portfolio grids (...and will it be different if we have custom php changing the programs tab name and slugs?)
@PeeAyeCreative
@PeeAyeCreative 7 ай бұрын
Good idea, we will add this to our list.
@RobertoRaymon
@RobertoRaymon 7 ай бұрын
I think swap out pa_equalize_button_height for et_pb_portfolio_item within the code
@libss
@libss 2 жыл бұрын
I followed one of your previous tutorials related to making the blog module show 4 columns. When i do the steps in this tutorial it makes the formatting go way off. Is it one of those things where its either 4 columns or equalized heights?
@karluy100
@karluy100 2 жыл бұрын
Hi @Pee, I tried to use this under Divi woo product settings but it is not working. Any suggestion will be greatly appreciated. Thank you :)
@PeeAyeCreative
@PeeAyeCreative 2 жыл бұрын
This is for the blog.
@catcrash345
@catcrash345 8 ай бұрын
How to make the image aspect ration the same?
@PeeAyeCreative
@PeeAyeCreative 8 ай бұрын
www.peeayecreative.com/change-the-divi-blog-image-aspect-ratio/
@mohamedalami5863
@mohamedalami5863 3 жыл бұрын
Thanks a lot brother
@PeeAyeCreative
@PeeAyeCreative 3 жыл бұрын
Always welcome :)
@TehMezdawg
@TehMezdawg 2 жыл бұрын
Nelson actually has green frosted tips and is not bald. Thanks for all the helpful content!!
@PeeAyeCreative
@PeeAyeCreative 2 жыл бұрын
You're welcome!
@hilloygaming389
@hilloygaming389 3 жыл бұрын
how can I make it so that only the image is shown but everything else is removed for the blog posts?
@PeeAyeCreative
@PeeAyeCreative 3 жыл бұрын
Did you try turning off the other elements?
@TayabBhatti193
@TayabBhatti193 3 жыл бұрын
Amazing Video Sit: sir tell me please which plugin can we use to do equal height of blog post sir reply please
@PeeAyeCreative
@PeeAyeCreative 3 жыл бұрын
Huh? You said great video, but then asked how to do with a plugin what I showed in the video?
@TayabBhatti193
@TayabBhatti193 3 жыл бұрын
@@PeeAyeCreative Mean to say that Can we do this with any plugin. Because If I want to tell someone how to do this so I could tell someone. So thanks very much for my reply I learn a lot from you... Hats off for all your amazing trikcs
@PeeAyeCreative
@PeeAyeCreative 3 жыл бұрын
I'm glad you like it.
@mdabdullatifsagor2260
@mdabdullatifsagor2260 2 жыл бұрын
Your website is not open. How can I get the code?
@PeeAyeCreative
@PeeAyeCreative 2 жыл бұрын
I'm not sure what you mean
@dynamicdesignsolutionsllc943
@dynamicdesignsolutionsllc943 Жыл бұрын
Didn't work for me...I went through the tutorial twice and no luck 🙁
@PeeAyeCreative
@PeeAyeCreative Жыл бұрын
Sorry to hear, probably something custom conflicting.
@dynamicdesignsolutionsllc943
@dynamicdesignsolutionsllc943 Жыл бұрын
@@PeeAyeCreative I kept troubleshooting and figured it out. I had to hide overflow using something I found on an elegant themes support article, and now it's working: Divi > Theme Options page: .et_blog_grid_equal_height article { overflow: hidden; }
How To Expand And Collapse Text In Divi (Like A Read More Toggle)
10:28
Pee-Aye Creative
Рет қаралды 19 М.
How To Make A Tabbed Divi Blog Grid By Category
15:30
Pee-Aye Creative
Рет қаралды 4,6 М.
Challenge matching picture with Alfredo Larin family! 😁
00:21
BigSchool
Рет қаралды 23 МЛН
Stay on your way 🛤️✨
00:34
A4
Рет қаралды 31 МЛН
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 48 МЛН
How to Easily Add A Divi Carousel Slider to the Blog Module
24:26
Use these instead of vh
6:06
Kevin Powell
Рет қаралды 499 М.
How to Keep Columns on Mobile in Divi
11:20
Josh Hall
Рет қаралды 100 М.
How to Design a Blog Post Template with Divi’s Theme Builder
22:53
Elegant Themes
Рет қаралды 140 М.
The Easiest Way to Build Websites
10:56
Sajid
Рет қаралды 430 М.
These CSS PRO Tips & Tricks Will Blow Your Mind!
8:48
Coding2GO
Рет қаралды 222 М.
13 Things To Remove From Your Website Immediately
12:33
Orbit Media Studios
Рет қаралды 305 М.
Are You Making These CSS Height Mistakes?
8:54
Web Dev Simplified
Рет қаралды 127 М.
How To Place A Button And/Or Text Over An Image In Divi
12:59
Pee-Aye Creative
Рет қаралды 16 М.
Useful & Responsive Layouts, no Media Queries required
11:03
Kevin Powell
Рет қаралды 175 М.