Hello, how do i change the color of a RadzenMenuItem font? it seems to default to white and no other css style changes it. (i.e. color: black does not change the font of the menu items, they remain white)
As most Radzen.Blazor components the Menu is rendered as a complex structure of HTML elements. Setting the color of the outermost element won't propagate it. You need to use a CSS variable to do that:
<RadzenMenu style="--rz-menu-top-item-color: red">
Gotcha. Thanks it worked. Where can i find the other css variables?
The source code is a good start. We also offer a visual way of customizing themes in Radzen Blazor Studio.
1 Like