Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
how to add seach item mobile(Dufault)theme
frindman
New
how to add seach item mobile(Dufault)theme
0
Comments
the best way is to copy your mobile theme to a new theme
e.g. mymobiletheme
then add this to your themes/mymobiletheme/views/default.master.tpl
in the position you want. - above the banner or below the banner. adjust the custom.css to position where you want.
add <div class="SearchBox">{searchbox}</div>
change your config.php to reflect your new customized theme.
$Configuration['Garden']['MobileTheme'] = "mymobiletheme';
and specify your version of vanilla when asking a question.
also clear the .ini files from your cache may creating new themes.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
im use vanila version 2.1b2
you can also use placeholder to specify text
and the above and you could float .SiteSearch in custom.css and position accordingly.
just an example
.SiteSearch {
float:right;
right: 100px;
}
you could try it in different places in default.master.tpl and see what you like better and fiddle with css
you could also place this below and position accordingly.
<div class="SiteSearch">{searchbox placeholder="Search Forums"}</div>
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.