Setting dialog title background color not working in MS Edge

Hello,

I’m finding that

“.rz-dialog-titlebar {
background-color: darkcyan !important;
}“

is not working when using MS Edge. The dialog titlebar background color remains white in Edge. However, in Chrome the titlebar background is the selected color. I add this in the app.css file. Keep in mind that I am not very experienced with html or css so I wouldn’t rule out “operator error” or some setting in MS Edge. This is a visual studio 2022 project with .net10 and the latest version of Radzen Theme and Components. I’m switching to use only Chrome for now.

Follow up,

It seems that if I also add this class in the page.razor.css file then it works in MS edge as well. Is that possible or is some cache doing it?

Hi @mikeb,

You can try inspecting the title element with your browser developer tools to see what CSS rules apply to it. Right click the desired element and select Inspect.