Keyword within CSS

hi all

I am trying to embeded metadata keyword within CSS so it can be changed easily by modifying metadata of the asset
So on display color is using the metadata field code.
I have got the metadata schema setup and apply to the asset, but it seems the keyword is being picked up

thanks

What is your CSS file type? Is it CSS_File or CSS Design File???

hello, it’s actually inline CSS
<style=“background-color: %asset_metadata_color%;”>
then the asset metadata is set with different code

thanks

what gets produced on the frontend where the keyword is placed? Is this placed in a paint layout or a design file or just a standard page?

this should work

style=“border-color: %asset_status_colour%;”

hi,

it’s placed in a paint layout, at frontend it produces nothing
thanks

try to use this keyword and let us know

%frontend_asset_metadata_color%