Page 1 of 1

Mobile search bar

Posted: Thu Feb 26, 2015 10:44 pm
by xzx
Hi,

When i type something in the search bar on my mobile site, it doesnt have a blue search button like in the picture. Instead, it has a grey return button. How can i change that?

Image

Re: Mobile search bar

Posted: Thu Feb 26, 2015 11:52 pm
by viethemes
You can edit the file catalog\view\theme\default\template\common\search.tpl, find

Code: Select all

type="text"
and replace with

Code: Select all

type="search"

Re: Mobile search bar

Posted: Fri Feb 27, 2015 1:22 am
by xzx
doesn't work

Re: Mobile search bar

Posted: Fri Feb 27, 2015 4:03 pm
by yuno
viethemes wrote:You can edit the file catalog\view\theme\default\template\common\search.tpl, find

Code: Select all

type="text"
and replace with

Code: Select all

type="search"
it is working fine for me!

Re: Mobile search bar

Posted: Fri Feb 27, 2015 10:35 pm
by viethemes
xzx wrote:doesn't work
May there is a OCMOD extension which modifies this file. You should go to admin > Extensions > Modifications > click on the Refresh button and check it again.

Re: Mobile search bar

Posted: Sat Feb 28, 2015 1:09 am
by xzx
Still nothing

Re: Mobile search bar

Posted: Sat Jul 25, 2015 3:09 am
by nudylady
great post