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

XF 1.2 Style Properties in Templates

Discussion in 'XenForo Questions and Support' started by katsulynx, Jan 13, 2014.

  1. katsulynx

    katsulynx Well-Known Member

    Is there a quick way to call style properties inside templates? E.g. this one:

    [​IMG]
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    <xen:if is="@nameOfProperty">
     
    katsulynx likes this.
  3. katsulynx

    katsulynx Well-Known Member

    Thanks! Is there also a way to see the names of the properties?

    Edit: found out myself. Use the definition in brackets on the top headline and then the headline/style-property name, e.g. @html.background.
     
    Last edited: Jan 13, 2014

Share This Page