Can I use a custom CSS to hide the empty categories used in projects, in a drop down category list widget? There is no “.cat-item-(category id)”. The class is “postform”, option class=”level-0″ and value-“(category id)”.
http://www.petkovstudio.com/timeline/ or drop down category list widget in any other post.
I have done it in theme functions (forgot how and I loose the code after theme update) but I prefer using custom CSS.
The solution of Awan in https://athemes.com/forums/topic/hide-type-ab-categories-in-blog/ is perfect but it does not work in drop down list.
Thank you veru much in advance.