Sylloo ERP Help Center Sign in

Website themes and Theme Studio

Create, change, preview and publish a website theme in Theme Studio, and decide which customer pages your theme designs itself.

Updated 4 Nov 2026 10 min read

Website themes and Theme Studio

A website theme decides how the business's website looks: its layout, sections, colours and fonts. Theme Studio is the editor in the Developer console where you open the theme's files, change them, see the result in a preview and publish it.

Everything you change in Theme Studio goes into a working draft first. Visitors keep seeing the live website until you click Publish now.

When you use this

  • The business wants its own design, and you start a new theme from one of the shipped themes.
  • You add a section, such as a promotion banner, that the business can then place on any page.
  • You change the colours, fonts or page width a theme offers in the website builder.
  • The business wants its sign-in or checkout page in the same design as the rest of the website.

Theme structure

File or folder in your theme What it is for
config/theme.json Name, version, default language and the list of pages of the theme.
config/settings_schema.json Theme settings in groups (brand, colours, typography, layout, contact, social).
layouts/base.html The frame of every page: {{ header }}, {{ group('header') }}, {{ content }}, {{ group('footer') }}.
groups/ header.json and footer.json: the sections at the top and bottom of every page.
templates/ One <page>.json per page: its sections, blocks and their order.
sections/ <name>.html (the HTML) and <name>.json (settings, blocks, presets) of each section.
snippets/ Small reusable pieces printed with snippet('name').
locale/ en.json, bn.json, fi.json: the theme's fixed words, read with t('key', 'Default').
assets/ css/theme.css, js/theme.js and pictures in img/.

See How templating works for an example of each file.

How it works

  1. In the Developer console, open Website Manage › Theme Studio. Choose a theme in the theme switcher, or click New theme to start one from a shipped theme.
  2. Open a file from the Explorer (for example sections/hero.html). It opens in a tab of the code editor.
  3. Change the file and save it (Ctrl+S). The change goes into your working draft, and the file gets a change badge in the Explorer.
  4. Look at the preview. It shows the page with your draft, on a desktop or phone width.
  5. Click Check to find problems, such as a setting the HTML reads but the schema does not have.
  6. Click Publish in the title bar. Click Publish now to make the draft live, or fill Publish at and click Schedule to publish at a date and time you choose.

Example: Add a promotion banner section

The business wants a banner with a heading, a short text, a button and a picture, and wants to change all of them without code. This example follows the promo_banner section of the shipped themes.

sections/promo_banner.html:

<section class="section section--tight color-{{ settings.scheme }}" {{ section.attributes }}>
    <div class="container">
        <div class="promo">
            <div>
                <h2 {{ editable('heading') }}>{{ settings.heading }}</h2>
                <p {{ editable('text') }}>{{ settings.text }}</p>
                {% if settings.button_label %}
                    <a class="btn btn--outline" href="{{ link(settings.button_link) ?: route_products() }}" {{ editable('button_label') }}>{{ settings.button_label }}</a>
                {% endif %}
            </div>
            {% if media(settings.image) %}
                <img src="{{ media(settings.image, {width: 600}) }}" alt="{{ settings.image_alt }}" loading="lazy">
            {% endif %}
        </div>
    </div>
</section>

sections/promo_banner.json:

{
    "name": "promo_banner",
    "title": "Promotion",
    "category": "banner",
    "enabled_on": { "pages": ["*"] },
    "settings": [
        { "id": "heading", "type": "text", "label": "Heading", "translatable": true, "default": "Weekend offer: 15% off" },
        { "id": "text", "type": "textarea", "label": "Text", "translatable": true, "default": "On selected products until Sunday night." },
        { "id": "button_label", "type": "text", "label": "Button label", "translatable": true, "default": "See the offer" },
        { "id": "button_link", "type": "url", "label": "Button link", "default": "/products" },
        { "id": "image", "type": "media", "label": "Image", "default": null },
        { "id": "image_alt", "type": "text", "label": "Image description", "translatable": true, "default": "" },
        { "id": "scheme", "type": "color_scheme", "label": "Colour scheme", "default": "scheme_1" }
    ],
    "presets": [ { "name": "Promotion" } ]
}

Result: Promotion appears in Add section in the website builder. Added to a page, it shows "Weekend offer: 15% off", the text and a See the offer button that opens the products page. When the business picks a picture from the File Manager, the picture shows next to the text.

Example: Put the section on the home page

To ship the banner on the home page, add it to templates/home.json and to the order list.

{
    "name": "home",
    "title": "Home",
    "layout": "base",
    "sections": {
        "hero_1": { "type": "hero", "settings": {} },
        "promo_1": { "type": "promo_banner", "settings": { "heading": "Opening week: 20% off" } }
    },
    "order": ["hero_1", "promo_1"]
}

Result: The home page shows the hero first and then the banner with the heading "Opening week: 20% off". The other settings keep their defaults.

Theme Studio at a glance

Working draft

Every save in Theme Studio goes into the theme's working draft. Visitors do not see it. Discard draft (in the Publish menu) throws away all changes since the last publish.

Preview

The preview shows a page of the website with your draft. Choose the page and the language in the title bar, and switch between desktop and phone width. Preview opens the same view in a new browser tab.

Check

Check reads the whole theme and lists problems in the Problems tab: a JSON file with an error, a setting the HTML reads that the schema does not have, a setting nobody reads, a theme that is too large.

Publishing

Click Publish in the title bar. Publish now makes the draft live at once. Schedule publishes it at the date and time in Publish at, for example the start of a sale. Earlier versions stay in the History tab.

Package

Install from GitHub adds a theme from a repository. A repository connection is the way to bring in a theme built elsewhere: see Install a theme from a repository. The Package tab takes a copy of your theme out.

Customer pages: sign in, sign up, my account and checkout

By default a theme does not design the customer pages. These pages open the customer portal, the area where customers sign in and see their orders:

When the visitor opens They see
Sign in the customer portal sign-in page
Sign up the customer portal sign-up page
My account the customer portal home (orders, invoices, payments)
Checkout the customer portal checkout
Order success the customer portal "order placed" page
Forgot password always the customer portal

The cart page stays in your theme (templates/cart.json). Its Go to checkout button links to route_checkout(). The cart in your theme and the checkout in the customer portal share the same cart.

Your theme only links to these pages:

<a href="{{ route_signin() }}">{{ t('account.sign_in', 'Sign in') }}</a>
<a href="{{ route_signup() }}">{{ t('account.create', 'Create an account') }}</a>
<a href="{{ route_my_account() }}">{{ t('header.account', 'My account') }}</a>
<a href="{{ route_checkout() }}">{{ t('cart.checkout', 'Go to checkout') }}</a>

Result: Each link opens the matching page of the customer portal, in the visitor's language.

Design a customer page in your theme (when the business wants it)

When the business wants, for example, its sign-in page in the website's own design, add the page to your theme:

  1. Add a page template named after the page: templates/signin.json, signup.json, my_account.json, checkout.json or checkout_success.json, with a section of your own.
  2. Send the form through the website's built-in stores, never a form of your own: $store.signin, $store.signup or $store.checkout (each has form, error(), isLoading and submit()). Checkout also creates the customer and the order, for guests too.
  3. When you add checkout, also add checkout_success. Without it, the order still ends on the customer portal's "order placed" page.
  4. Password reset always stays in the customer portal: link it with route_password_forgot().
  5. A my_account page shows only the signed-in customer (current_contact()). Orders, invoices and payments stay in the customer portal; link them with route_my_account().

Once the template exists, that page opens in your theme instead of the customer portal.

templates/signin.json:

{
    "name": "signin",
    "title": "Sign in",
    "layout": "base",
    "sections": { "signin_1": { "type": "signin", "settings": {} } },
    "order": ["signin_1"]
}

sections/signin.html:

<section class="section color-{{ settings.scheme }}" {{ section.attributes }}>
    <div class="container" style="max-width:440px">
        <h1 {{ editable('heading') }}>{{ settings.heading }}</h1>
        <form x-data x-on:submit.prevent="$store.signin.submit((data) => { window.location = data.redirect ?? '{{ route_home()|e('js') }}' })" novalidate>
            <div class="field">
                <label for="si-email">{{ t('form.email_or_mobile', 'Email or mobile') }}</label>
                <input class="input" id="si-email" required autocomplete="username" x-model="$store.signin.form.username">
                <span class="error" x-text="$store.signin.error('username')"></span>
            </div>
            <div class="field">
                <label for="si-password">{{ t('form.password', 'Password') }}</label>
                <input class="input" id="si-password" type="password" required autocomplete="current-password" x-model="$store.signin.form.password">
                <span class="error" x-text="$store.signin.error('password')"></span>
            </div>
            <button class="btn btn--block" type="submit" :disabled="$store.signin.isLoading">{{ t('account.sign_in', 'Sign in') }}</button>
        </form>
        <p class="small center">
            <a href="{{ route_password_forgot() }}">{{ t('account.forgot', 'Forgot your password?') }}</a> &middot;
            <a href="{{ route_signup() }}">{{ t('account.create', 'Create an account') }}</a>
        </p>
    </div>
</section>

sections/signin.json:

{
    "name": "signin",
    "title": "Sign in",
    "category": "account",
    "enabled_on": { "pages": ["signin"] },
    "limit": 1,
    "settings": [
        { "id": "heading", "type": "text", "label": "Heading", "translatable": true, "default": "Sign in" },
        { "id": "scheme", "type": "color_scheme", "label": "Colour scheme", "default": "scheme_1" }
    ],
    "presets": [ { "name": "Sign in" } ]
}

Result: Sign in on the website opens your theme's page. A customer types the email or mobile and password and clicks Sign in. A wrong password shows the message under the field; a correct one opens the page the customer came for, or the home page. Forgot your password? still opens the customer portal.

How to extend

  1. New theme: click New theme, choose the shipped theme to start from and give your theme a name.
  2. New section: click New section in the Explorer. Theme Studio creates sections/<name>.html and sections/<name>.json; fill both and add a preset.
  3. New page: add templates/<page>.json and add the page name to pages in config/theme.json.
  4. Your own styles: add them to assets/css/theme.css. Use the colour, font and width variables from theme_css() (var(--color-primary), var(--font-heading), var(--page-width)), so the business's choices still apply.
  5. Publish: preview, click Check, then Publish now.

Rules and pitfalls

  • Preview before you publish: the preview shows exactly what visitors will see.
  • Valid schemas: every sections/<name>.json needs name, settings and at least one preset; otherwise the section does not appear in Add section.
  • Colours from settings: use color-{{ settings.scheme }} and the var(--color-*) variables, not fixed colour codes, so the business can change colours in the builder.
  • Unique keys: each section key in a page template (hero_1, promo_1) appears once in sections and once in order.
  • Customer pages: design sign-in, sign-up, my account or checkout pages only when the business asks for them; by default the customer portal is safer and always up to date.

Common questions

Can I throw away my draft? Yes. Click Publish in the title bar and then Discard draft. The draft goes back to the live version.

Can I bring in a theme someone else made? Yes. Ask them to put it in a repository, then click Install from GitHub. See Getting started with theme versions.

Can a theme change go live at a set time? Yes. Click Publish, fill Publish at with the date and time and click Schedule.

Why does Sign in open a page that is not in my design? Because your theme has no sign-in page, so the customer portal shows it. Add a signin template as shown above if the business wants its own design.