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

image
how to add seach item mobile(Dufault)theme

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

  • peregrineperegrine MVP
    edited March 2014

    you can also use placeholder to specify text

    <div class="SiteSearch">{searchbox placeholder="Search Forums"}</div>
    

    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

    look for  <div id = "Content">
    

    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.

Sign In or Register to comment.