Custom design for the search bar on Help Center | Community
Skip to main content

Custom design for the search bar on Help Center

  • June 25, 2024
  • 3 replies
  • 0 views

Keetha

I am trying to add a button to the default search bar. Similar to the search bar in this site, in zendesk help's header.

 

 

Is there a  way to edit the code of the {{search}} in the .hbs file in my theme?

3 replies

Pulkit12
  • June 26, 2024

Hi Keetha Aruboribaran

 

Replace your search helper with the following code below

{{search submit=true}}

 

Then use the CSS to add icon and to update its position as shown on the screenshot you have attached 

 

 

Thank You

Pulkit

Team Diziana


Keetha
  • Author
  • June 26, 2024

thanks! it works as I wanted


Keetha
  • Author
  • June 26, 2024

is there a place where I can find documentations on these kind of elements' variables?