Docs & Support

Learn about all Business Directory’s features and get support from our amazing customer success team.

Categories list

Heads up!
This article contains CSS code and is intended for developers. We offer this code as a courtesy, but don’t provide support for code customizations or 3rd party development.

CSS relating to the categories list on the main directory page.

Examples

Hide categories list

Hide the categories list on your directory page.

#wpbdp-categories {
  display: none !important;
}

Change category list to buttons

Change the category list to buttons instead of links.

.cat-item .category-label {
    background: #f3f5f5;
    display: flex;
    padding: 20px;
    width: 95%;
}
.cat-item .subcat {
    padding-top: 10px;
}
#wpbdp-categories li {
    list-style-type: none !important;
}

Note: This CSS is designed to work for categories without images, and the category post count option turned off.

Change category font size

This will change the font size of the category names.

#wpbdp-categories {
  font-size: 24px !important;
}
Was this article helpful? *

This article may contain affiliate links. Once in a while, we earn commissions from those links. But we only recommend products we like, with or without commissions.

In this article

    We have a small, but amazing team of dedicated people who are committed to helping you achieve your goals and project requirements.


    Copyright © 2010-2025 S11 Directories, LLC.

    Join 20,000+ using Business Directory Plugin to build website directories fast. Get Started