Jump to content

How to remove the big SEARCH button from the search box?


Recommended Posts

The line you are looking for is line 9 of modules/blocksearch/blocksearch-top.tpl:

<input type="submit" name="submit_search" value="{l s='Search' mod='blocksearch'}" class="button" />



I'm not sure why you want to remove it though, since then there is no way to submit the search.

Link to comment
Share on other sites

that was quick, thanks!

well actually, I wanted like to simply remove the "search button", I would like to keep the submit function by pressing "enter on keyboard" after entering the query.

I changed the line you suggested me to:

<!--<input type="submit" name="submit_search" value="{l s='Search' mod='blocksearch'}" class="button" />-->



And it removed the search box, but I can still press enter. Thanks for your help!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...