Dynamic data in Element's Customize > Elements CSS

Hello,

Should dynamic data work in Element CSS?

I tried using it like this:

$el {
    color: {{dc:looper:field key="shadow"}};
}

but everything in curly braces is getting replaced with empty string.

Same dynamic data works fine if I paste it in text field of the same element or even color field.
I’m using version 5.1.5 of Pro.

P.S.: I found some beta-related topic (https://theme.co/forum/t/beta-4-dynamic-content-in-element-css-not-working/97600) for next version but not sure if it’s related. I tried this var(’{}’) thing tho—it doesn’t work either.

Hello @skripkin,

Thanks for posting in! Regretfully the Dynamic Content in element CSS is not yet available in the latest release, Pro 5.1.5. It is only available in the beta version. That is also why the thread you have found is with the Beta forum and not for the Support forum.

Thank you for your understanding.

1 Like

Since there’s no proper documentation and dynamic data works in some other fields like color in 5.1.5 I assumed that it works in element’s CSS field as well.
Thanks for clarification!

You’re welcome, @skripkin.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.