XF 1.5 Access the background-image value from a Style Property?

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:
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;
}
it won't work. Is there a special attribute to call for this value only?

Much thanks
 
Top Bottom