Hide "All" or "None" dropdown in subcategory


(Fellowship Forums) #1

Hello,

Is there a way (perhaps using CSS) to hide the “all” and “none” dropdown for certain categories?

image

Thank you very much!


#2

Try adding the following CSS:

.category-navigation .collection-header {
   display: none;
}

It’s not specific to subcategories, but see what you think.

Edit: I haven’t tested this, but it should be specific to the subcategories as your forum stands now. If you add more categories with subcats down the line, though, you will need to add their CSS classes to the list.

.category-syllabus-material,
.category-past-exams,
.category-coach,
.category-case-study,
.category-tell-us-your-thoughts {
  .category-navigation .collection-header {
    display: none;
  }
}