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 edit default theme in 2.1.11

edited September 2015 in Vanilla 2.0 - 2.8

First I am confused why there are two theme folders: "2011Compatibility" and "default"? Which one is actually the default folder? And why the default folder doesn't have a css file? Making changes to custom.css in 2011Compatibility, doesn't do anything to the theme. Where can I make changes to the CSS style? Why is this more complicated than it should be?

Comments

  • the way to change a theme is generally to create a clone.

    The easiest "default theme" to clone is bittersweet. It has everything you need.

    $Configuration['Garden']['Theme'] = 'bittersweet';

    the 2011Compatibility theme is the old theme style with panel on right side
    $Configuration['Garden']['Theme'] = '2011Compatibility';

    but in answer to your question the default default theme is Baseline+
    $Configuration['Garden']['Theme'] = 'default';

    Although one would hope the Descriptive name of a theme or plugin matched the folder name. Vanilla defies this everywhere. It seems odd to me.
    Its a vanilla mystery.

    theme info in FAQ
    http://vanillaforums.org/discussion/comment/219925/#Comment_219925

    and see Documentation and navigate to the proper area.
    http://docs.vanillaforums.com

    Basically the idea is take a theme you want

    clone it. copy to a new folder. give it a new name
    change the about.php to reflect the folder name.
    adjust themehooks if necessary.
    and css.

    with the exception of the config statement (since it reflect mobile) and the base mobile theme.

    here is an example how to duplicate.

    http://vanillaforums.org/discussion/26490/tutorial-how-to-create-a-new-mobile-theme

    The css for the default theme is in the core and the suggestion is not to modify it.
    /addplications/dashboard/design/style.css.

    anything added via your custom.css is additive.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • thanks for the detailed answer - a lot to go over

Sign In or Register to comment.