Posted: August 26, 2013 at 10:36 am
|
It’s possible assign a different template for a specific event? |
Hi Marco, It is possible to remove that information with CSS. You can probably remove it on an event by event basis. You’ll need to get the id. This can be done with Chrome web developer tools. If you’ll post the link to your the event that you want to remove the information from, I can help you come of with the CSS needed. |
|
|
Hi Jonathan, Thanks in advance |
|
Hi, You can use the following CSS selectors to target that single event: In the event list #event_data-1 As a single registration #espresso-event-id-1 You would need to then narrow the focus, so #event-data-display h3 or #event-data-display .event-meta. It depends on what your are targeting. Another alternative, at least for the event list, is to use the custom css attribute on the [EVENT_LIST] shortcode: [EVENT_LIST css_class=”somethinghere”] Then you can target the whole event list, but only that particular one. |
|
Hi Dean, Thanks in advance |
Hi Marco, You’ll need to add the following code to the style.css file of your theme, or a custom CSS plugin: /** Remove Date from event 1 **/ #event_date-1 { display: none; } This removes the date information from the event 1. If you need to remove it from other events, you can add their ids to the code like this: #event_date-1, #event_date-2 { display: none; } |
|
|
Thank you so much Jonathan |
You’re welcome, Marco. Let us know if you have anymore questions. |
|
The support post ‘Different Template’ 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.