XF 2.0 Style Property CSS Extra Field

[xFv]

Well-known member
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:
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.
 
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:
It's in many templates, but you can see it within core_block.less for example -- .block-container uses the values from two properties.
 
Back
Top Bottom