DC Portfolio Category Accent Color

Hey!

Is there a possibility to display the Portfolio Category Accent Color with dynamic content?
I have created a Portfolio Archive Page, where all portfolios from all categories are displayed. To give it an individual accent I want to colorize the Title of the Single portfolio elements automatically depending on the portfolio category accent color, which I have defined in the backend settings.

It would be great if you help me with the right dynamic content code, which I can put into the text-color field.

Thanks you very much in advance!

Kind regards,
Oliver

Hello Oliver,

Thanks for writing in!

You can use {{dc:term:meta key="accent"}}; in the color field, assuming that the name of the field is accent.

Kindly let us know how it goes.

Hello @ruenel!

Thank you very much for your quick answer and the code. It worked perfectly for me.

Have a nice day!
Oliver

You are most welcome, Oliver.