How can I change the label color for these fields?
On the edit page designer, there isn't any option to change the label color of a field.
Also, I tried to use CSS but it's not working (I tried to add CSS as we do on normal edit/section pages).
Like
Indeed currently there is no possibility to modify the label color or on a regular basis or on specific conditions and unfortunately there are no examples of how to do it via the code. We have the task registered for our Core R&D team to add this possibility in one of the future releases of the Freedom UI designer. I will let them know about your community question so to prioritize the task for them. Thank you for helping us in making the app better!
We tried Changing the font colour using CSS for a field title and it worked.
In CSS module add "body" text before the Element class name, then the styling will be applied on the text.
body {{Element Classname}} {
color: red;
}
Example:
body .crt-input-label {
font-size: 15px;
color: red;
}
Changes:
Thank you
This article shows how to add a CSS class at runtime to a control on a Freedom UI page (so you can change the color/style at runtime based on data) https://customerfx.com/article/dynamically-changing-a-control-style-on-a-creatio-freedom-ui-page/
Note, ability to change colors of a component via business rules is on the roadmap, currently slated for Q2 2025 (I was assuming that would mean 8.3 possibly, but it's not in the current alpha build, unless it's a beta feature that needs to be enabled - although that isn't listed on the change log, not even as a beta feature)
Ryan
Solem Khn writes:
is there any update on how we can add ID, ClassName or maybe other HTML element in a Field in Freedom?
See https://customerfx.com/article/dynamically-changing-a-control-style-on-a-creatio-freedom-ui-page/
Ryan