How to Create a Fullwidth 2 Column Image & Text Section in Divi
In this tutorial, I show you how to create a Fullwidth 2 Column Layout with an Image and Text in Divi. There are numerous ways to do this but I’ve found what I think to be the most straight forward and simple solution. This is also accompanied by a free layout! See below for download.
/*---------------Vertically Center Column Elements---------------*/ .et_pb_equal_columns >.et_pb_column { margin-top:auto; margin-bottom:auto; }
This code is what will center the text when you check "Equalize Column Heights" in your row settings. I also recommend saving this for all your Divi sites. Cheers to Pierre Sudarovich for providing this code on a recent thread in my Divi Web Designers FB group 🙂
Links mentioned in the video:
Where to Put your Custom CSS in Divi
Vertically Align Content in Divi
Example site shown in beginning:
Get the FREE Layout!
Want more free tutorials and layouts?
I'd love to do more. But as you can imagine, it takes a lot of time and effort to put these together. In order for me to do these, I need to take time away from my business which is what's currently paying the bills. If you'd like to leave a tip and show your appreciation, it would show me that the time I invest in these is worth it and will help keep more coming!
- Josh
Or you can
Hi Josh :)!
Good trick! Thanks for sharing ;).
All the best.
Thank you for the code snippet, Pierre! I use that on EVERY site now 🙂
Thanks, Josh! Step by step, very clear for everyone. Awesome job!
Another great video. Thanks, Josh!
Sure wish I were as smooth as you are when doing video tutorials. 😛
ha thanks, Corey. A lot of trial and error and editing has helped 🙂
Thank you very much for the tutorial
No problem! Thanks for the comment.
You made my day with this tutorial!
Awesome to hear, Rodrigo! Thanks for the feedback 🙂
Good job Josh, you’re a great teacher, very gifted to explain things clearly step by step.
Thanks, Daniel! Really appreciate that and your awesome feedback.
Hi Josh, I love your new tutorial! Thanks a lot for sharing.
I have one question. I replaced the image, with a .gif I made. The new gif (animation) is loading too quickly. First, there is this gif, and a split second after, the header. Is there a way to delay the loading of this gif?
kind regards,
Claudia
Hi Josh, I solved the problem! have a nice day!
Claudia
Awesome. Cheers!
Hey Claudia, unfortunately with gifs or any animated file, you need to adjust that with your graphic or video program. I’m not sure of a way to adjust the loading but that doesn’t mean it isn’t possible. Not sure if you’re a member or not, but you’re welcome to post the question in my FB group! https://www.facebook.com/groups/diviwebdesigners/
Someone may have a solution for ya.
Am I right in thinking that all the images have to be the same size (or at least the same width) or this won’t work as shown?
Hey Ian, if you’re going with a layout with multiple images and text section, yeah it’s best to have the images at the same size or dimensions. But if it’s just one image/text section, you’ll just want to make sure the image is big enough height wise to avoid any extra space around the text section.
Nice tutorial Josh 🙂
Thanks, Kirb!
Great tutorial thanks for that. Question if I made a fullwidth section as described but I wanted it to come up to the very top of the page (under the header, using a transparent header) how would that be done? Negative margin on the section? And how can you adjust the column sizes? 65/35 for example. Also is there a way to make the text overlap the image?
Cheers
Thanks Brendon. If you go into Theme Customizer Settings and take the main menu opacity all the way down, it’ll pull the first section up. I’d recommend trying that out to avoid doing any extra CSS!
Hi josh, I’m waiting for you to make a new divi tutorial 🙂
I know it – I’m excited to get back to it. My daughter was born last month and has been in the NICU for 6 weeks now so I’ve had a hard time keeping with up with everything going on. She’s progressing well though so hopefully we’re out soon. I have MANY tutorials and training courses in the works!
Hello Josh, thank you very much for your lessons)
The question is not on the topic of this lesson. I want to make that when I put “HEADER STYLE” “SLIDE IN” on the left there was an icon of the hamburger menu and on the right there is no logo in the menu, but Call to Action Button. Advise how to do please. Thank you in advance.
Hey Sergey, it’d probably take quite a bit of custom CSS to pull that off. Easiest way would be to use the new header plugin by Superfly. Check that out here –> https://besuperfly.com/product/mhmm-mighty-header-and-menu-maker/aff/274/
When I browse my site on mobile devices with a large screen resolution between the Divider and the next block, a white line is visible. On the web version everything is fine. What can be done?
https://pp.userapi.com/c847218/v847218756/71c58/8cxkj5WSXhA.jpg
https://pp.userapi.com/c847218/v847218756/71c75/gdfPpCo_URs.jpg
I think it depends on the image sizes and the padding, Sergey. I’d recommend adjust both of those to get rid of the line on tablet and mobile!
Great tutorial. Worked for me, but I have a small problem. The site that I manage has quite a bit of custom that I didn’t set up. This CSS code changed other pages for me in a negative way. I had to take the code out. I’ve tried to add the code only on this row, but I must not be entering correctly. It’s not working on the single row. Any advice on adding the CSS to only this page/row? It would seem simple enough, but I can’t get there.
Thanks, Evelyn
mmm I’d recommend adding an ID to the row/section then adding that ID in front of the classes in the CSS! That way it just applies to that section!
Hi, is it possible to add this effect to slider images?
I would to split image and text to slider module.
Thank you, very much.
Good question, Davide. I should be possible, you may just have to adjust a few settings to make sure the slider images are lining up flush but yeah it should work!
Would this work with a video? 🙂
Good question Jonny. Yeah potentially it should work for the video module or even if it’s a background video. I did something similar with this type of layout and background videos on this page: https://www.magnfi.com/meet-magnfi/
Thanks Josh this is really helpful. On a mobile I want to change the stacking order of these elements. I have a number of them on top of each other, they alternate, the image on the left and the next one, the image is on the right. On mobile I want them all to appear image first, text second down the page). Ive tried a couple of pieces of code that change the stacking order but they’re not working. Can you help or try to see if it works for you – is there anything here that would stop the stacking order from occurring on mobile?
Check out this tutorial, Grant!
Hi Josh! I watched your video and thanks very much for the clearly tutorial….
I have a question: I repeat the fullwidth layout changing the image and text side on each section, but in the mobile versión the layout change being left image-text-text-image. Si the re any ay ti fix it in the mobile version?
Thanks you for reading!
Yep I have a tutorial on that!
how to make slider inside post?
nice article
You can just add a slider module to the section you want.