You can use the Assets menu to adjust the styling and behavior of your page directly.
If you work with emails, you can create your own LESS or SASS files and overwrite and change the classes we have set.
If you are working with a landing page, you also have the option of creating your own JavaScript files and integrating external libraries via a URL.
π‘ To be able to use the Assets menu, you must have the DEVELOPER role.
Manage Assets
To be able to use the asset functions, you must first create a new file.
Open the desired landing page in the JUNE Editor.
Navigate to Assets in the left sidebar and then to Manage in the top bar.
First click on the three dots next to the desired asset type.
Select Add asset.
Give the new file a name and a scope (Page refers to the current page, and Global refers to the entire page directory).
Click Create to create the new asset.
Edit Assets
First go to the tab of the desired asset type.
Select the desired asset via the dropdown.
Write code in the desired language.
As you change code, the view in the editor updates in real time.
Press Save if you want to persist your changes.
LESS
LESS is a so-called preprocessor for CSS, which enables some pleasant features such as variables. However, it is also possible to write pure CSS in LESS without using the extra features.
π More: https://lesscss.org
SASS
SASS is another preprocessor for CSS that offers similar features to LESS. It is also possible to write pure CSS here.
π More: https://sass-lang.com/
JavaScript
JavaScript gives you complete design freedom over the interactions on your landing page. Be it customized maps, integrations or the inclusion of external widgets, Twitter feeds, etc.