Support

Home Forums Event Espresso Premium Hide Category-Filter over EVENTS_TABLE

Hide Category-Filter over EVENTS_TABLE

Posted: June 22, 2014 at 5:56 am


Alexander Müller

June 22, 2014 at 5:56 am

Hi guys!

I’m trying to use the [EVENT_CUSTOM_VIEW] shortcode in two differt ways on my website. The first one is like it is supposed to work: to show a list of events in a table with the category filter over it. This works fine.

Now my second type of use would be to list events of only a specific category (works fine with the category_id tag in the shortcode) but HIDE the category filter over it. I’m on category page A, list only events of category A so I don’t need a filter-dropdown over it. I also don’t want to put it out of the template.php because then it would also disappear from my first page and there I need it!

I hope you understand my problem 😉
Maybe you have a solution!

Thanks a lot!
am.


Lorenzo Orlando Caum

  • Support Staff

June 22, 2014 at 5:47 pm

Hi, you should be able to do this by combining the body class for the specific category page along with the CSS id or class that is used for the category dropdown.

See this page for an example on how to inspect elements on a page:

http://eventespresso.com/wiki/hide-certain-elements-event-espresso-pages-using-css/

Addendum to tutorial above:

https://gist.github.com/lorenzocaum/e807be7a6d69d4cbc951

Once you have this information, you can link it to a display:none and add this to your child theme’s stylesheet or a plugin like My Custom CSS or Reaktiv CSS Builder.


Lorenzo


Alexander Müller

June 23, 2014 at 2:42 am

did it like you said – worked perfect!
thanks a lot lorenzo!

The support post ‘Hide Category-Filter over EVENTS_TABLE’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Alexander Müller 5 years, 5 months ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!