Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 2.12 KB

dbohla_user_guide.md

File metadata and controls

42 lines (29 loc) · 2.12 KB

Ceres Vanilla – A Vanilla Theme for Ceres

Ceres Vanilla is a simple theme plugin that contains no style or design for Ceres. With the help of this theme, you can display your own CSS in Ceres. Furthermore, the templates of Ceres can be overridden with your own templates.

Displaying your own CSS

After installing and deploying the plugin, enter your own CSS in the plugin detail view.

Entering your own CSS:
  1. Go to Plugins » Plugin overview.
    → The plugin overview will open.
  2. Click on CeresVanilla.
    → The plugin will open.
  3. Click on resources » css » main.css in the directory tree.
  4. Enter your CSS code.
  5. Save the settings.
    → The CSS changes will be available after deploying the plugin again.
Activating your own CSS:
  1. Go to Plugins » Content.
  2. Go to the Stylesheet (CeresVanilla) area.
  3. Select the container Template: Style.
  4. Save the settings.
    → The CSS will be displayed in the online store.

Displaying your own templates

CeresVanilla allows you to override the templates of Ceres with your own content. To do so, enter the code in the template and override the template. In the following, setting up the homepage is explained. Set up the other templates the same way.

Entering the code for your own homepage:
  1. Go to Plugins » Plugin overview.
    → The plugin overview will open.
  2. Click on CeresVanilla.
    → The plugin will open.
  3. Click on resources » views » Homepage » Homepage.twig in the directory tree.
  4. Enter the code for your homepage.
  5. Save the settings.
    → The template changes will be available after deploying the plugin again.
Activating your own homepage:
  1. Go to Plugins » Plugin overview.
    → The plugin overview will open.
  2. Click on CeresVanilla.
    → The plugin will open.
  3. Click on Configuration in the directory tree.
  4. Activate Homepage under Override partials and templates.
  5. Save the settings.
    → The homepage will be displayed.