• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Not a bug  Template Problem

R

ragtek

Guest
#1
This is a template part for a add-on:

Code:
    .ragLatestPosts .ragHeading a {
        color: {xen:property heading} . color;
    }
When i save it, xenforo transforms it to:
Code:
    .ragLatestPosts .ragHeading a {
        color: @property "heading";
 font-weight: bold;
 font-size: 11pt;
 color: @primaryLightest;
 background-color: @primaryLightish;
 padding: 5px 10px;
 margin-bottom: 3px;
 border-bottom: 1px solid @primaryMedium;
 border-top-left-radius: 5px;
 border-top-right-radius: 5px;
 @property "/heading"; . color;
    }
Is this a xf problem or my fault?
 

Mike

XenForo developer
Staff member
#2
Your fault :p

Heading is a complex property. If you just want the color, you want {xen:property heading.color}