Home Forums Event Espresso Premium Divi, Custom Post Type, and Custom Post Type UI plugin

Divi, Custom Post Type, and Custom Post Type UI plugin

Posted: May 28, 2021 at 2:07 pm


May 28, 2021 at 2:07 pm

I am setting up EE4 with Divi and running into problems with the style of the event list. Plus the individual event posts don’t have a featured image and the CSS code I was given by Divi doesn’t remove the author name and date.

I know it has to do with Divi recognizing the EE4 custom post type. So I added the custom post type UI plugin.

I thought I set it up correctly with “events” as the new custom post. But I still don’t see a way to associate espresso_events with this custom post type or style it. A step must be missing (on my end).

So, my main question is probably very basic but how do I get the custom post type UI plugin to recognize event espresso and where do I add the styling?



  • Support Staff

June 1, 2021 at 8:11 am

Hi there,

Officially Event Espresso does not support page builders, that’s not to say it wont work with them, but you aren’t going to have the level of control with EE events that you have with say pages and posts.

I suspect the custom post type UI plugin is just adding to the confusion/complexity of what you are trying to do here so rather than trying to get that working (I don’t think it is actually needed, but could be wrong), may I ask what it is you are trying to do?

What changes are you trying to make and where?


June 1, 2021 at 12:34 pm

Hi Tony – I agree on that custom post plugin. I had to deactivate as it hid the event posts.

My main objective is to add some custom style (basic stuff) to the list of events page (not the individual event posts). I’m trying to use css code that another user has just to put the image to the left, add a border around the event, etc… But, css code that works with the generatepress theme doesn’t work with Divi.

Any ideas on how to add just a few basic styling additions. Our main event page is more important than the individual event posts because we usually have quite a few on the list at a time.



  • Support Staff

June 2, 2021 at 4:59 am

For just some CSS styling, you can add the styles either in a CHild theme’s style.css file, or you can add them within the admin in Appearance -> Customize -> Additional CSS.

To specifically target the EE event archive, just prefix your CSS selectors with .post-type-archive-espresso_events, so to give an example of saying hiding the feature image specifically on your /events/ output:

.post-type-archive-espresso_events .entry-featured-image-url {
    display: none;

Is that what you are looking for?

You must be logged in to reply to this support post. Sign In or Register for an Account

Event Espresso