Not a bug  Template Problem

  • Thread starter Thread starter ragtek
  • Start date Start date
R

ragtek

Guest
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?
 
Your fault :p

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