# Hide search form fields on mobile

**URL:** <https://community.hivepress.io/t/hide-search-form-fields-on-mobile/2527>\
**Category:** Bookings\
**Tags:** bookings\
**Created:** [October 25, 2022, 6:36pm UTC](https://community.hivepress.io/t/hide-search-form-fields-on-mobile/2527 "2022-10-25T18:36:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![muslimbnb](https://community.hivepress.io/user_avatar/community.hivepress.io/muslimbnb/32/3235_2.png) [@muslimbnb](https://community.hivepress.io/u/muslimbnb)\
**Post date:** [October 25, 2022, 6:36pm UTC](https://community.hivepress.io/t/hide-search-form-fields-on-mobile/2527/1 "2022-10-25T18:36:46Z")

</div>

Hello, first of all bravo, the more I discover hivepress and rentalhive (theme that I use for a marketplace type airbnb) the more I find it at the top … My question: is it possible to have a different search bar for pc mode and for mobile mode: basically I would like to have the fields: location, dates and categories on PC and have only the location field on mobile… Thanks in advance

---

<div class="post-metadata">

**Author:** ![yevhen](https://community.hivepress.io/user_avatar/community.hivepress.io/yevhen/32/23_2.png) [@yevhen](https://community.hivepress.io/u/yevhen)\
**Post date:** [October 26, 2022, 2:44pm UTC](https://community.hivepress.io/t/hide-search-form-fields-on-mobile/2527/4 "2022-10-26T14:44:58Z")

</div>

Please try this CSS snippet

```auto
@media screen and (max-width: 47.99em){
	.hp-form--listing-search .hp-form__field:not(.hp-form__field--location){
		display: none;
	}
}

```

---

<div class="post-metadata">

**Author:** ![system](https://community.hivepress.io/user_avatar/community.hivepress.io/system/32/13990_2.png) [@system](https://community.hivepress.io/u/system)\
**Post date:** [November 25, 2022, 2:45pm UTC](https://community.hivepress.io/t/hide-search-form-fields-on-mobile/2527/5 "2022-11-25T14:45:49Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
