I want to customise the default search button in home page. We have the search as below screenshot and want to do that if we click the search icon it should open the input box below the search icon.

enter image description here

How can I do that?

Any help will be appreciated!

1 Answer 1


You can do this with javascript. Add a click function to the search-icon-button. Search Google for "javascript show elements"

Next: Find the correct file to edit:

CMS > Debug > Profiler > Paths

You will see the path to the files to edit.

Hope this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.