Brad Padgett
Well-known member
I've tried everything. I can't figure out where I went wrong.
For example. Let's say I wanted to call a background color style property with some inline CSS in a template mod.
basically like this.
Property name being the unique identifier I gave my property. Is there another form I need to use?
What I understand is I can call the property value this way for any css property but it's not working in a PAGE_CONTAINER template modification. I'm using inline css.
It's also my understanding that I can use this to show the contents only when it's selected:
I know I'm doing something wrong. Do I need to use some other form where the main style property group is apart of it as well as the sub property? Is there another way because it's "inline" css?
What other forms should I be using? None of it works.
For example. Let's say I wanted to call a background color style property with some inline CSS in a template mod.
basically like this.
<div style="background: {{ property('Property_Name') }}; ">
Property name being the unique identifier I gave my property. Is there another form I need to use?
What I understand is I can call the property value this way for any css property but it's not working in a PAGE_CONTAINER template modification. I'm using inline css.
It's also my understanding that I can use this to show the contents only when it's selected:
HTML:
<xf:if is="property('Property_Name') == 'Value'">
code that only shows when the radio button with the value you selected in format parameters is selected.
Basically (value=on)
</xf:if>
I know I'm doing something wrong. Do I need to use some other form where the main style property group is apart of it as well as the sub property? Is there another way because it's "inline" css?
What other forms should I be using? None of it works.