Article suggestions
  1. Home
  2. Section: Developer Hub
  3. How to Remove Location Searches from the Search Modules

How to Remove Location Searches from the Search Modules

How to Remove Location Searches from the Search Modules
  • avatar
Written by Chan Nier
Updated on February 19, 2025

 Link: https://support.brilliantdirectories.com/support/solutions/articles/12000101405

For the HomepageHeader and Member Sidebar, you can just choose search modules that don’t have location in them:

For the Post Types sidebar, the location search field is wrapped with a CSS class that can be targeted with one rule to hide it for all those:

.location-search-field {
  display: none;
}
CSS

This will hide the rest of the location input fields for posts in the sidebar searches.


Thank you for leaving a rating!
Did you find this article helpful?
0 out of 0 people found this article helpful so far
Can't find what you're looking for? Get in touch
How can we help?
Send your question below and we'll get back to you as soon as possible.
Cancel
translation missing: en.kb.default.contact_form_error
×
Thanks for your message!
Thanks for your message!
×