Theme Documentation

for designers & developers


Theme Engine

As you would expect the bulk of your theme consists of HTML, CSS, JavaScript and images. The Evance Theme Engine requires a specific file structure in order to load appropriate layouts and templates for each customisable area of your site. If you are new to creating themes in Evance we recommend taking the time to understand the file structure and configuration requirements.

Understanding Themes

EVML Reference

Evance uses EVML to render your theme's layouts and templates. The familiar syntax of HTML and JavaScript, with a debug tool that links directly into online documentation, makes EVML easy to learn and fast to work with. Under the hood EVML Objects simplify common functionality to streamline production, whilst quietly utilising built-in caching engines and efficiently handling database lookups.

EVML Reference Guide

CSS Pre-Processor

Evance automatically loads relevant stylesheets for your theme, can combine multiple files from a JSON inventory into a single sheet, and automatically compresses your CSS before they're delivered by a CDN.  Evance avoids unexpected display errors when changing CSS caused by browser and CDN caching. You can nest, extend, use variables, create presets and utilise colour adjustment functions. 

CSS Pre-processor Guide

Ajax API

Our Ajax API is new and currently limited in functionality, however we continue to add to the functionality of this API and will continue to update this area. We currently support limited Cart functionality and page, product and category searching.

Theme Ajax API