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

XF 2.0 Style Property CSS Extra Field

[xFv]

Previously Cylent1
#1
Hello...
I am trying to use the CSS extra field in style properties but with no luck.
I have tried different variations of this: extra: @MyPropertyID--extra;, but throws an error.
Every other css properties work just cant figure this one out.
Any help is much appreciated.
 
Last edited:

Mike

XenForo developer
Staff member
#3
For one, that style of property access always has @xf- as a prefix, but you won't be able to access extra like that. It would come with the full .xf-MyPropertyID(); reference.
 

[xFv]

Previously Cylent1
#4
For one, that style of property access always has @xf- as a prefix, but you won't be able to access extra like that. It would come with the full .xf-MyPropertyID(); reference.
Do you know where in XF2 templates I could find a instance of this?
I am not completely understanding this yet.
 
Last edited:

Mike

XenForo developer
Staff member
#5
It's in many templates, but you can see it within core_block.less for example -- .block-container uses the values from two properties.