Forum Academy Marketplace Showcase Pricing Features

How can I make the font color dynamic?

Hi, I want to change the font color if the current user is Admin to current users’s “Namensfarbe”. This is a field in the database. In this field is a hex code stored. But the text isn*t colored. Does somebody know why?

Best wishes
Jakob

image

image

Hi there, @Jakob1… I just did a quick test, and what you are showing works for me. So, I guess the dumb question is are you sure you are running as the correct user and the user’s role is Admin?

Best…
Mike

1 Like

Yes, the role is Admin and I logged in with this account. The strange thing is that even when the color isn’t dynamic the color doesn’t chance. Maybe it’s because the text is dynamic?

image
image

Works as expected for me with dynamic text.

1 Like

That’s very strange.

Without an option set it works properly.
image

But with an option set it doesn’t work, even though I am logged in with the right account.

I’m creating a new option set, maybe it works with that.

With another option set it’s working properly. Then I’ll just use this one. Thanks :smiley:

1 Like

Yeah, I was just about to confirm that it works fine with an option set, too. Glad to hear you worked it out.

1 Like