Vertically Center Content using The Divi Theme

I get a lot of questions about how to vertically center content with the Divi Theme. In this tutorial, i’m giving you the code needed to vertically center any content inside a container using the advanced tab code sections.

I’ve also packaged the layout from the video to get you started. Get the layout below the video.

The Layout We’re Building

CSS CODE


/* Center content within a container vertically*/
display:flex;
flex-direction:column;
justify-content:center;

Listen to the Divi Addicts Podcast Today

Get Our Free Website Starter PDF


Related Posts

Build A Fixed Divi Menu

Build A Fixed Divi Menu

We discuss how to custom code a unique menu using the Divi Wordpress Theme. Follow along and you will have a unique menu in minutes.

Join the conversation

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *