Support

Home Forums Event Espresso Premium Hide Posting data and comment

Hide Posting data and comment

Posted: August 6, 2017 at 12:05 am

Viewing 4 reply threads


solwebsolutions

August 6, 2017 at 12:05 am

Our main events page:
http://www.lafsn.org/wp/calendar/

…I’m trying to hide the post date and comment line.
I’ve tried 3 different CSS entries, but not of them work.
Please advise.

.jx-ievent-blog-meta div.jx-ievent-event-date { visibility:hidden; }
.single-espresso_events #event-date-p { display: none; }
+ other CSS I’ve tried


solwebsolutions

August 6, 2017 at 12:08 am

Here’s another I tried, but didn’t work:
.espresso_event_type-single-event .blog-switch-layout.blog-grid article .entry-grid-meta { display: none; }


Tony

  • Support Staff

August 7, 2017 at 4:57 am

Hi there,

I’m not sure where you got the above CSS, but non of the elements you are targeting with the above exist on the page you linked to, is it the correct page?

To remove the entry-grid-meta from that specific page you can use:

.post-type-archive-espresso_events .type-espresso_events .entry-grid-meta {
    display: none!important;
}

!important is used because the theme is setting the display attribute on those elements using a fairly specific ruleset. Rather than getting into specificity wars we can use !important to override that.


solwebsolutions

August 7, 2017 at 11:05 pm

thank you…that worked!


Tony

  • Support Staff

August 8, 2017 at 1:49 am

You’re most welcome 🙂

Viewing 4 reply threads

The support post ‘Hide Posting data and comment’ 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