Post by xzx » Thu Feb 26, 2015 10:44 pm

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

xzx
Newbie

Posts

Joined
Mon Feb 09, 2015 5:08 am

Post by viethemes » Thu Feb 26, 2015 11:52 pm

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"

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by xzx » Fri Feb 27, 2015 1:22 am

doesn't work

xzx
Newbie

Posts

Joined
Mon Feb 09, 2015 5:08 am

Post by yuno » Fri Feb 27, 2015 4:03 pm

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!

OpenCart®
PHP Developer.
更多中文教學在 OpenCart香港官方網站 !
QQ: 2039574815


Active Member

Posts

Joined
Tue Feb 11, 2014 9:24 am

Post by viethemes » Fri Feb 27, 2015 10:35 pm

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.

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by xzx » Sat Feb 28, 2015 1:09 am

Still nothing

xzx
Newbie

Posts

Joined
Mon Feb 09, 2015 5:08 am

Post by nudylady » Sat Jul 25, 2015 3:09 am

great post

New member

Posts

Joined
Sun Feb 19, 2012 12:14 am
Who is online

Users browsing this forum: No registered users and 24 guests