Skip to main content
All CollectionsEmail MarketingEmail Editor
Assets (Code Access in Email Editor)
Assets (Code Access in Email Editor)

Using the Assets menu, you can directly customize the styling and behavior of your page via custom coding.

Anni Wild avatar
Written by Anni Wild
Updated over a week ago

If you work with email, you can create your own LESS or SASS files and override and modify classes we set.

πŸ’‘ To use the Assets menu, you must have the DEVELOPER role.


Manage Assets

To use the asset functions, you must first create a new file.

  1. Open the desired email in the JUNE Editor.

  2. Navigate to Assets in the left sidebar and click Manage in the top bar.

  3. First, click on the three dots next to the desired asset type.

  4. Select Add asset.

  5. Name the new file and type in a scope (for emails, the scope is always of type Page).

  6. Click Create to create the new asset.


Edit Assets

  1. First go to the tab of the desired asset type.

  2. Use the dropdown to select the desired asset.

  3. Write code in the desired language.

  4. As you change code, the view in the editor updates in real time.

  5. Press Save if you want to persist your changes.


LESS

LESS is a so-called preprocessor for CSS, which allows nice features like variables. However, it is also possible to write pure CSS in LESS without using the extra features.

πŸ”Ž Read more: https://lesscss.org


SASS

SASS is another preprocessor for CSS that brings similar features as LESS.

It is also possible to write pure CSS here.

πŸ”Ž Read more: https://sass-lang.com

Did this answer your question?