Articles on: Appearance and theme

Edit your templates using the Theme editor

General presentation



The Theme editor is a section which lets you customize your templates. It requires some technical skills in order to take advantage of it.

The programming language that is used in our Theme editor is the liquid language.

How to access this section?



You can access this section by going to the Theme section and by clicking on the Theme editor button.

https://www.loom.com/share/0b74a766ff0d4b17a5eb4892b13c8f47

What you can do in this section?



The Theme editor section will let you customize your templates freely.

You will have to modify the liquid code of the pages that you want to customize.

You can for example edit the code to delete or to change the aspect of one of your marketplace's pages.

The differences between templates, snippets and assets



The template is the skeleton of the page. It structures all the content of the page.

It is essentially composed of HTML tags and may include some small parts of reusable code that are named snippets.

Assets are javascript or stylesheets files that can be used in snippets or in templates.

To call an asset file, you can use the next following instructions :

Javascript : {{ 'asset_name.js' | asset_url | script_tag }}

CSS : {{ 'asset_name.css' | asset_url | stylesheet_tag }}

Updated on: 17/03/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!