Posted: August 13, 2014 at 7:27 am
|
Hi, The website i am working on is: http://www.dinghycoach.nl/clinics-events/ So for page 12 i don’t want cat-5 to show in the filter. or something and that’s why you can’t select the elements correctly or something. I have nooo idea hope you can help! cheers Pim & Ruby |
Hi Pim & Ruby, Using Chrome Dev Tools on the page you linked to I can see the CSS code you’ve included to exclude some categories. However you mention it is not working with Chrome or IE, it does for me. Can I ask which version of Chrome are you using? IE does not allow you to hide option elements with CSS. You can add inline styles to each of those options and test in IE and they would still display. In order to remove them from view within IE they would need to be removed from the page using JavaScript. |
|
Hi, Try this in your child theme’s functions.php file: https://gist.github.com/lorenzocaum/9d514b7eac07df81d602 Let us know if this works. Also, there is a broken image for your theme. You can check through Firebug or Chrome Developer Tools. —
|
|
|
Hi again, I added the data to my child themes function.php. And it looks like: function ee_remove_category_options_from_dropdown() { but no changes so far i can see:( } |
|
oh WAIT! i made a mistake i think it works! cheersss |
Your site isn’t loading. Are you using this code: https://gist.github.com/lorenzocaum/9d514b7eac07df81d602 — |
|
|
Ah yeah, could be because i was changing some stuff again, to add extra removing code for the other categories. So thanks again for the great and quick support! cheers |
The support post ‘Hide some filters in [CUSTOM_EVENT_VIEW}’ 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.