Asset URL

A way of retrieving any css, js or image within your theme. This cannot be used as variables and cannot access images uploaded outside the theme editor.

Example:

/*css folder*/
{% asset_url(“style.css") %}

/*images folder*/
{% asset_url(300x300.gif) %}

/*js folder*/
{% asset_url(jquery.js) %}

Output:

/*css folder*/
//cdn1.leadcommerce.com/files/f/b25lLmxjZG6YuNv/default_theme/css/style.css?4194107

/*images folder*/
//cdn1.leadcommerce.com/files/f/b25lLmxjZG6YuNv/default_theme/images/300x300.gif?4194107

/*js folder*/
//cdn1.leadcommerce.com/files/f/b25lLmxjZG6YuNv/default_theme/js/jquery.js?4194107


Start your free, no-risk trial today.