How to remove search bar in listings view page

I’m looking to remove the search bar on the listings page and am wondering what’s the best way to go about this?

I found this post but it doesn’t provide code for removing the search specifically on the listing page, it only shows getting rid of the search bar altogether.

Hi,

Please use this CSS snippet:

.hp-template--listings-view-page .hp-form--listing-search{display:none;}

​I hope this is helpful to you.

Yup that was helpful. For anyone else who uses this code, it’s going to leave some space at the top so in order to remove that, you can use this code:

.page-id-15 .site-content {
    padding-top: 0;
}
1 Like

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