Every week, we provide you with new and free Divi layout packs which you can use for your next project. For one of the layout packs, we also share a use case thatβll help you take your website to the next level.
This week, as part of our ongoing Divi design initiative, weβre going to show you how to create stunning event custom post type templates with Divi using the free Meetup Layout Pack. This use case tutorial is made possible by the Divi Builder Custom Post Type Support feature, one of Diviβs recent updates. Weβre going to create a template that will match the Meetup Layout Pack. After creating this template, youβll be able to reuse it for all the events you share on your website.
Letβs get to it!
Preview
Before we dive into the tutorial, letβs take a look at the final result on different screen sizes.

Install The Events Calendar Plugin
Go to Plugins & Add a New One
To add event custom post types to our website, weβll be using The Events Calendar plugin, which is one of the most popular WordPress events calendar plugins available today. This is a free plugin which you can find by going to your WordPress dashboard > Plugins > Add New > Searching for The Events Calendar plugin.

Activate Plugin
Once youβve installed the plugin, make sure you activate it right away so you can start using it.

Change Theme Customizer Settings
Change Typography
Now before we create an event, letβs start by getting the fundamentals of our website right. Open your Theme Customizer by going to your WordPress dashboard > Appearance > Customize. Navigate to the typography of your website by going to General Settings > Typography next. Once youβre there, apply the following settings:
- Body Text Size: 16
- Body Line Height: 1,9
- Header Font: Roboto

The Events Calendar Settings
The Events Calendar plugin has some of its own settings in the Theme Customizer as well. Go back to the main menu of your Theme Customizer > The Events Calendar > General Theme > And use the following colors:
- Accent Color: #06c8ff
- Featured Highlight Color:Β #06c8ff

Go back to the settings of The Events Calendar > General Theme and use the same β#06c8ffβ color for all the options you can find there.

Add a New Event
Add New Event
Weβre now ready to create a new event. To do that, go to your WordPress dashboard > Events > Add New. Once youβve added a new event, make sure you give it a title as well.

Add Event Details
Continue by entering your event details. This includes:
- Time & Date
- Location
- Organizers
- Event Website
- Event Cost


Add Featured Image
Add a featured image to your event as well. Later on this post, weβll remove this from the frontend but weβll still need it for social sharing.

Change Divi Page Settings
In the right corner of your event, youβll see the Divi Page Settings. There, remove the sidebar by selecting βNo Sidebarβ for the Page Layout.

Publish Event
Weβre now ready to start working on the frontend. Go ahead and publish your event.

This is default page design without having enabled the Visual Builder:

Open Meetup Landing Page & Save Design Elements
Locate & Save Row to Divi Library
Working efficiently is more important than working hard. Thatβs why weβre going to save ourselves some time and effort by reusing elements of the Meetup Layout Pack. Start by opening the landing page using Diviβs Visual Builder. Then, locate the following row on your page and save it to your Divi Library:

Locate & Save Section to Divi Library
Weβll also need the following section so go ahead and save this one as well:

Start Creating Event Custom Type Template
Add Custom CSS Code Lines to Match Meetup Layout Pack
We can use the Visual Builder for event pages but unfortunately, we cannot use it everywhere. To make sure everything is in line with the Meetup Layout Pack, weβre going to add a few CSS code lines in advance:
#tribe-events {
margin: 5%;
}
.tribe-events-single-event-title {
font-weight: 300;
font-size: 60px !important;
}
#tribe-events-content a {
font-family: Roboto !important;
font-weight: 300 !important;
}
.tribe-events-event-image{
display: none;
}

Switch over to Visual Builder
We can now switch over to using the Visual Builder on our event!

Add a New Section
Background Image
Youβll see that thereβs a section already present on the page. Thatβs the place on the page weβre able to modify. Start by opening the section settings and add the βbg-4.pngβ background image. You can find this image in your Media Library if youβve already uploaded the Meetup Layout Pack to your website. Along with the background image, use the following settings:
- Background Image Size: Actual Size
- Background Image Position: Bottom Right


Spacing
Open the Spacing settings of your section next and add β100pxβ to the top margin.

Border
Weβre also creating this kind of timeline effect for our template. Go to your Border settings and add the following left border:
- Left Border Width: 7px
- Left Border Color:Β #8301e9

Add a New Row
Column Structure
Now that weβre done modifying the section settings, we can start adding our rows. Add a new row with the following column structure:

Sizing
Open the settings of your row and enable the βMake This Row Fulliwdthβ option in the Sizing settings. This is something weβre going to do for each one of the rows within this layout.

Add Text Module to Row
Sizing
Next, add a Text Module with a description of your event, move on to the Sizing settings and use the following Width:
- Desktop: 47%
- Tablet & Phone: 100%

Import Saved Row
Right below the row youβve added, go ahead and import the row youβve saved to your Divi Library.

Sizing
Weβll need to modify some things about this row, starting with the Sizing settings. Enable the βMake This Row Fullwidthβ option.

Remove Body Text Module & Button Module
Next, remove the paragraph of the Text Module and the Button Module in the first column.

Clone Text Module & Remove Sizing
Go ahead and clone the Text Module in your first row and place it in the first column of your new row. Open the Sizing settings next and remove the customized Width for desktop.

Import Saved Section
Weβre done modifying the first section! Go ahead and import the section youβve saved next.

Add Border
Weβre adding a left border to this section as well:
- Left Border Width: 7px
- Left Border Color:Β #06c8ff

Change Sizing of Each Row
There are a couple of rows within the section youβve just imported. Enable the βMake This Row Fullwidthβ option for each one of these rows.

Change Button Alignment
Lastly, change the Button Alignment to left as well.

Save Template to Divi Library
Add to Library
The layout template is finished! You can now save it to your Divi Library and reuse it for other events as well.

Preview
Now that weβve gone through all different steps, letβs take a final look at the result on different screen sizes.

Final Thoughts
In this use case blog post, weβve shown you how to create stunning event custom post type templates. The template weβve created matches the style of the Meetup Layout Pack. After creating this template, weβve also saved it to the Divi Library so we can reuse it for other events as well. If you have any questions or suggestions, make sure you leave a comment in the comment section below!

Great for the individual events pages, but I can’t find a way to modify the main event page that the plugin creates. Is there a way to use the Divi builder on that page that I’m missing? It would be nice to add some of my custom sections.
On the other side of the above comments, this is again another useful tutorial for a lot of us that just want to learn how to explore and use Divi in various ways. Thank you for that, Donjete π
The events calendar plugin API doesn’t work to pull in events anymore with facebook and that’s been an issue since April so how does this work?
Pretty useless if I can use this new feature only with specific Plugins. I hoped for a little more…
Would love to see this with the EventOn plugin instead. ?
The question is:
Does this pull the data dynamically?
Or this “Custom Post Type” thing is just a fancy looking page, that you have to duplicate/update for Each (event/post) ?!
I wonder the same ?..
As for this Event Custom Post Type Template, I am surprised that you are using the Theme customizer to define color and typography settings….I was under the impression that Divi was heading down the route of “everything in Divi builder”, as opposed to using the theme customizer when it comes to global settings.
When will we be able to create blog post templates using Divi that will pull in the content created in the WP editor dynamically? Rather than using blog post layouts from the library, manually changing to full-width layout and hiding the header each time, then overwriting the dummy content…which is a bad way…not only because it’s tedious, but also because you cannot make global style changes to ALL past and future blog posts that way. So…when will this be coming?
Nice tutorial, but I absolutely agree this is rather a temporary patchwork solution. Looking forward to the teasered dynamic content features!
Where is the dynamic content features teaser? Haven’t seen anything like that would love to see whats coming.
They said this was in the pipeline for “after” the custom post type release so I’d assume a couple weeks. But its definitely the direction they are going.