Is there any way to set font weight on the text displayed by RadzenText, for instance font-weight:bold?
I was able to set font-style in an enclosing
, since the built-in RadzenText DisplayStyle doesn't have any css for that.
I thought I might hack the ChildContent as a last resort but couldn't access it.
Hi @RossAFaneuf,
Simply add a <strong>
tag to bold the text as shown in this demo. In case you need to bold all instances, you can use the theme editing features in Radzen Blazor Studio or manually edit the respective CSS variables:
<style>
:root {
--rz-text-h4-font-weight: 700;
--rz-text-body1-font-weight: 700;
/* and so on... */
}
</style>
Inspect with browser's devtools to find the needed CSS variable to adjust.