Input Media Assets (e.g. CSS, JS, images) 

smooster is able to recognise the paths for images, CSS and JS files, so make sure to always use paths related to the ones in your HTML files and save them in your media folder: media/.


Inserting CSS and Javascript in the head section

You can put CSS and JS in the head section like you always do.



TIP: Use related paths to your save file path when inserting media files (e.g. images) into CSS or JS files.

Example: You want to insert the file background-image.jpg into style.css. The image is in the folder media/style/images and the css file in media/style css.

Correct: “../images/background_image.jpg” (related to the css file location)
Wrong: “media/style/images/background_image.jpg”