1. 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

Discussion in 'Resolved Bug Reports' started by ragtek, Aug 6, 2011.

  1. ragtek

    ragtek Guest

    This is a template part for a add-on:

        .ragLatestPosts .ragHeading a {
            color: {xen:property heading} . color;
    When i save it, xenforo transforms it to:
        .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?
  2. Mike

    Mike XenForo Developer Staff Member

    Your fault :p

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

    ragtek Guest

    ok, it was my fault:D

    edit: ninjad

Share This Page