Hello,
The easiest way to change the colors in the PanelBar would be to set a custom CssClass to the PanelBar from the server-side. Then you can use pure CSS to control the colors of any items inside the PanelBar.
<style>
.RadPanelBar.red-panelbar .rpItem .rpLink {
background-color: red;
background-image: none;
}
</style>
<telerik:RadPanelBar ID="RadPanelBar1" runat="server" RenderMode="Lightweight" CssClass="red-panelbar">
<Items>
<telerik:RadPanelItem Text="Item 1"></telerik:RadPanelItem>
<telerik:RadPanelItem Text="Item 2"></telerik:RadPanelItem>
<telerik:RadPanelItem Text="Item 3"></telerik:RadPanelItem>
<telerik:RadPanelItem Text="Item 4"></telerik:RadPanelItem>
</Items>
</telerik:RadPanelBar>
For further customization, you can follow the suggestions in the first two points of the Improve Your Debugging Skills with Chrome DevTools blog post explaining how to inspect the generated HTML and check the applied styles for various elements.
Once you know the styles you need to override, you can use the same style selector and add "html body " in front of it to make it more specific, "stronger". More on CSS specificity you can find here:
Regards,
Peter Milchev
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.