Posted: September 22, 2015 at 8:14 pm
|
Hi! We need to hide the post meta for our Espresso Events (screenshot of what we want to hide: http://screencast.com/t/tGaELwoZm) I’ve tried everything suggested here via my child theme’s Stylesheet: https://eventespresso.com/wiki/hide-certain-elements-event-espresso-pages-using-css/ I’ve dropped in the following – and none of these do the job. And I’m not a coder, so I don’t know how to work beyond the suggestions in your tutorial.
I’ve also tried both of the above strings replacing the word “entry” with “post” – still doesn’t work. My theme (X Theme at theme.co) has a feature to turn off post meta, and when I toggle it off and go to my blog posts, it works and the meta gets hidden. But even with this feature toggled off, my Espresso events post meta still appears. My ultimate goal is to have the post meta visible on my blog, but hidden for my EE4 posts. But the instructions provided do not work. Can you point me in the right direction? (and please remember that I’m not a coder, so you’ll need to explain the new instructions in a simple, step-by-step manner). |
Hi Jen, Each theme can do this a little differently and sometimes name the elements differently, so the examples provided are there as a guide. On your site the meta is actually using a paragraph tag with a class of ‘p-meta’ – http://take.ms/qfxWW So this means the rules above need to change slightly, this works: .p-meta { display: none; } but will remove meta from everywhere and not just the EE events. So to make it specific for EE events, use this: .espresso_events .p-meta { display: none; } That should only remove it from our events and leave everything else alone. Are you adding the CSS to a section within the theme or using a plugin such as My Custom CSS or Reaktiv CSS Builder? |
|
Note the forum editor messed up my code examples, I’ve fixed them above but just noting in-case you’ve already read my reply. |
|
|
Thanks for the explanation. That second bit of code worked perfectly! Would love to see you guys provide more WYSIWYG options in the settings as you continue evolving EE. I think many of us that are using plugins and themes tend to not have coding skills. But the system works really well overall. And I thank you for the timely support! π |
Thank you for the feedback π As you are using X I’m assuming you mean to provide the level of control that VC or Cornerstone provide? As much as we would love to add this into EE we need to provide support for as many themes as possible so we currently inject the details into the theme in a way that is most compatible. I’m not saying we will not eventually add support for it, but I do not think it will be a feature we add soon. However we are providing a feature to adjust the order in which the details are added which should allow for more customization from users without the need to code. |
|
|
Yes, I was thinking along the terms of some of the Customizer settings that X provides. Like having a toggle on/off for blog post meta. When I searched the support forum on this topic, it seemed like a lot of people were asking, so it kind of indicates that creating a feature available in your overall General Settings for this might be well received. Thanks again for helping us out! π |
The support post ‘Can't Hide Event Post Meta Info’ 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.