Posted: January 9, 2015 at 4:29 pm
On every event detail I see ‘Filed under’ but no category appears. I’m not sure what the intended function is of these custom posts but it would be useful to be able to hide these. If I inspect it all I see is .metabar but I don’t want to hide these for all posts. |
|
Hi, you are on the right track since you were able to locate the class that the post meta is attached to. See the following tutorial on how to attach it to an Event Espresso class along with display:none. https://eventespresso.com/wiki/hide-certain-elements-event-espresso-pages-using-css/ — |
|
Ok thanks, the CSS on the support pages isn’t quite with no semi-colon after the none. And the entry-meta is now metabar so I found the following worked: /* EE hide filed under meta */ |
|
|
Hi, Thanks for letting us know about the semi-colons, I’ll get those updated to be correct. Entry-meta may differ depending on the theme, we have just used the default term from the default WordPres themes. |
I’m having the same issue identifying the id to hide ‘filed under’ for the events list and venue detail. I couldn’t find a reference to these in the help files. Thanks |
|
Hi, this meta info is coming from your theme. Do you have a link available? I’ll then inspect that area using Firebug or Safari developer tools and share some CSS for removing it. Thanks. — |
|
I can control the exact meta for my theme’s posts but these are being generated by the EE custom posts. Is there a way of getting rid of them entirely? I can add some code the child functions.php if that it sort it out. redacted – Event Espresso support team – LOC Thanks
|
|
Hi, thanks for those links. Here is the CSS that you are looking for: .single-espresso_events .metabar, .single-espresso_venues .metabar {display:none;} The CSS above works by looking for a specific body class. It then links it to another element on the page and hides it. This will only apply to single event pages and single venue pages. Other pages or posts on your site should not be affected. — |
|
Hi, I made an addition to the original tutorial that I shared on how to hide certain elements using CSS. This addition covers body classes that can be used to hide elements on various event and venue pages: https://gist.github.com/lorenzocaum/e807be7a6d69d4cbc951 It works by looking for a specific body class + a class postmeta. The class “postmeta” is just an example and can be replaced with another class that appears in your page content. — |
|
The support post ‘How to hide the 'filed under' meta for all events’ 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.