Remove Location from search bar

How do I remove the search bar for Geoloaction at the top of the page on hivepress thanks

Hi,

If you do not need the geolocation functionality, you can delete/deactivate this extension in WP Dashboard > Plugins.
Also, you can hide the location field by using this PHP snippet (How to add custom code snippets - HivePress Help Center):

add_filter(
	'hivepress/v1/forms/listing_search',
	function( $form ) {
		unset($form['fields']['location']);

		return $form;
	},
	1000
);