Have you seen our video tutorials? Check 'em out!

CSS

cchinopoulos - 1 week ago

{{ asset_add("theme.css", "theme::css/theme1.css") }} {{ asset_add("theme.css", "theme::css/theme2.css") }} {{ asset_style("theme.css") }}

I'm missing something here!!! Images used on css file (background-image:url(img/sample.png); not showing on rendered theme.

Answer

carsonsuite - 1 week ago

Try something like this:

background-image: url("{{ image_url('theme::img/sample.png') }}");

http://d.pr/n/iZN9

carsonsuite - 1 week ago

Try something like this:

background-image: url("{{ image_url('theme::img/sample.png') }}");

http://d.pr/n/iZN9

cchinopoulos - 1 week ago

Great! Thanks!

ryanthompson - 1 week ago

It's save to put {{ code }} here @carsonsuite

Just use markdown syntax.

carsonsuite - 1 week ago

// Sorry :(