Support

Home Forums Event Espresso Premium Edit the Output of [EVENTS_ESPRESSO] shortcode

Edit the Output of [EVENTS_ESPRESSO] shortcode

Posted: September 20, 2016 at 9:44 am

Viewing 4 reply threads


twhcoteaching

September 20, 2016 at 9:44 am

Wondering if I can edit the output of the [EVENTS_ESPRESSO] shortcode somehow? I just want it to list the events. I don’t want it to create a page header. The issue I’m having is that the header it creates uses the same CSS classes as the theme page header so if I suppress via display:none; both the page header I want (theme provided) and the one I don’t want (event espresso provided) disappear.


Josh

  • Support Staff

September 20, 2016 at 1:10 pm

You should be able to removed that header by changing the short code to be:

[ESPRESSO_EVENTS title=' ']


twhcoteaching

September 26, 2016 at 9:31 am

That only gets us halfway there. Here’s the page in question…
http://twhcoteaching.com/workshops/

Notice the grey block of dead space? That’s what the shortcode is creating, even with the title=’ ‘ in place

Thanks,
Jon


Josh

  • Support Staff

September 26, 2016 at 10:13 am

Hi Jon,

You can actually combine selectors to target the one you want to target, e.g.

.main .page-header {
display:none;
}


twhcoteaching

October 5, 2016 at 6:21 am

Yes sir! That worked. Thank you for your help. And I should have know better. I saw your solution and thought, “doh!” 🙂 Cheers!

Viewing 4 reply threads

The support post ‘Edit the Output of [EVENTS_ESPRESSO] shortcode’ 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