Hide the number of listings display in categories

When searching by location the number of listings displayed in the Category and Subcategory blocks reflect total listings on the system and not the number of listings in that location, which is inaccurate and confusing. How do I hide number of listings displayed in these boxes, or ensure that the correct number displays.

Hi,

Please send us a screenshot of the display you are referring to and we will provide a solution or workaround.

Hi on my Home page my categories reflect all my demo listings per category in each image ie number of listings as follows …https://www.grokstays.com/
When I search a location the categories still show all categories and total number of listings per category as follows …- GROKSTAYS.COM
All these categories are not available in this location and the number of listings are a lot less than indicated in the categories that are available in this location. This makes further navigation very confusing and frustrating for the user.

Hi,

I see. Unfortunately, there is no such feature yet, but we are planning to add it. In this version, as a workaround, you can hide this number using this CSS snippet:

.hp-template--listings-view-page .hp-listing-category__item-count {display:none!important}

I hope it helps

Hi Andrii this snippet does not seem to work?

It works, I checked, as shown above.

You need to add this as CSS (for instance in the adhoc customizer section of your theme, not as PHP.

Hi,

Please make sure you add the CSS snippet using this documentation: How to add custom code snippets - HivePress Help Center. Also, if you use a caching plugin, make sure that caching is disabled for logged-in users.