Sur ma page demande (requests) j’ai une barre de recherche avec mots clés et recherche d’une catégorie. Cependant sur la Sidebar à gauche il y a encore les catégories avec les attributs. J’ai essayer tous les code possibles pour enlever les catégories du Sidebar je n’arrive pas. Et quand je vais dans apparence widgets, il n’y a rien dans ma Sidebar rquests. Je suis une débutante dans la construction de site web donc si quelques peut m’aider se serait vraiment gentil.
On the Requests Archive Page (I am using Requests, not Listings), I want to use the Sidebar Filter. I need to hide/remove the default “Categories” field (since users already select a category in the header search) . I only want to keep my custom attribute in the sidebar.
The Problem: I cannot get rid of the “Categories” and “Budget” fields in the sidebar.
What I have tried (without success):
CSS: I tried display: none on .hp-form__field--categories and .widget_hivepress_request_categories. It works on the top search bar but NOT in the sidebar.
PHP: I tried the hivepress/v1/forms/request_filter hook to unset the fields. It didn’t work.
Elementor: I tried creating a Template for Requests Archive, but I couldn’t customize the Listing Filter widget to remove these specific fields.
Could you please provide a snippet or a solution to force-hide the Categories and Budget from the Requests Sidebar?
This removes (hides) the category selection and budget field in the sidebar, and the code is scoped to only remove the field from this page, so it won’t break other HivePress forms.
Please let me know if the provided CSS snippet works for you.
P.S. Please note that we have to move this topic to the Requests forum category. Since it’s related to a premium extension, the forum category is restricted — please add the license key to the account settings or consider renewing support if you still need assistance related to the premium themes or extensions Renew Support | HivePress