Nulumia
Well-known member
Wondering if it's possible to access just the background-image value of a standard CSS based property.
For example, we could call from a template:
.. or even render out all background items as a set:
..which would print:
However, if I try to call the individual image value from this set:
it won't work. Is there a special attribute to call for this value only?
Much thanks
For example, we could call from a template:
Code:
.content {
color: @primaryContent.color
}
.. or even render out all background items as a set:
Code:
.content {
{xen:property "primaryContent.background"}
}
..which would print:
Code:
.content {
background-color: #fff;
background-image: url("...");
backgorund-repeat: etc...
}
However, if I try to call the individual image value from this set:
Code:
.content2 {
background-image: @primaryContent.background-image;
}
Much thanks