Support

Home Forums Events Calendar Add-on Remove date and author from event listing

Remove date and author from event listing

Posted: January 18, 2019 at 11:54 am


stefashley

January 18, 2019 at 11:54 am

I am trying to remove the date and author from my events page because it is confusing my users – some think it’s the date of the event. I read other forum topics that shared it is something in my WP theme and to go to Additional CSS in the editor and the code to add. I added it (see below), but nothing is changing. Any suggestions? Here is an example of the page I’m trying to change: http://artfullyyoursstudio.com/classes/snowbird/

@media screen and (max-width:768px){
.ee-status.event-active-status-DTU {
background-color: #00B1CA;
display: block;
float: none;
clear: both;
margin: 0px;
}
.post-type-archive-espresso_events .type-espresso_events > a:first-of-type span.uppercase {
display: none;
}
}


Tony

  • Support Staff

January 18, 2019 at 12:18 pm

Hi there,

Each theme uses different classes for their elements, so the above was specific to whichever theme it was posted for, your theme needs:

.espresso_event_type-single-event .entry-meta {
    display: none;
}

Add that in place of:

.post-type-archive-espresso_events .type-espresso_events > a:first-of-type span.uppercase {
    display: none;
}

However, note you have that wrapped in a media query so it’s only removed for screens up to 768px wide, I’m guessing you want it removed for all visitors? In which case you want it outside of the media query. So either, just the section of code I posted above, or something like this:

@media screen and (max-width:768px){
    .ee-status.event-active-status-DTU {
        background-color: #00B1CA;
        display: block;
        float: none;
        clear: both;
        margin: 0px;
     }
}

.espresso_event_type-single-event .entry-meta {
    display: none;
}

So that the code to remove the entry meta, is outside of the media query.


stefashley

January 18, 2019 at 1:52 pm

I posted just the
.espresso_event_type-single-event .entry-meta {
display: none;
}
and it worked like a charm. Thank you!


Tony

  • Support Staff

January 21, 2019 at 2:15 am

You’re most welcome 🙂

The support post ‘Remove date and author from event listing’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso