DohTheme
Well-known member
Hello,
I've created the Asset location name "dt_files_path" and defined its path.
I used it in style properties as
It doesn't work so why this?
I've created the Asset location name "dt_files_path" and defined its path.
I used it in style properties as
%ASSET:dt_files_path%
and it works perfectly but when used it in "extra.less" template with this class:
CSS:
.bodyPattern_overlay__bottom::before
{
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgb(21,29,32) 100%), url("asset('dt_files_path')/img/pattern.png");
background-repeat: repeat;
background-position: center center;
z-index: -2;
}