Tabstrip titles are default red how to change their color

1 Answer 144 Views
TabStrip
Ayush
Top achievements
Rank 1
Ayush asked on 11 Nov 2022, 12:10 PM
Tabstrip titles are default red how to change their color

1 Answer, 1 is accepted

Sort by
0
Hristian Stefanov
Telerik team
answered on 15 Nov 2022, 04:52 PM

Hi Ayush,

The easiest way to customize the Tabstrip titles is to apply a custom "color" CSS style to the title HTML elements.

I have prepared an example for you below. Additionally, the "Class" parameter helps in specifying the desired component instance.

<style>
    .my-tabstrip .k-tabstrip-items-wrapper .k-item,
    .my-tabstrip .k-tabstrip-items-wrapper .k-item:hover {
        color: lawngreen;
    }
</style>

<TelerikTabStrip Class="my-tabstrip">
    <TabStripTab Title="First">
        First tab content.
    </TabStripTab>
    <TabStripTab Title="Second" Disabled="true">
        Second tab content. This tab is disabled and you cannot select it.
    </TabStripTab>
    <TabStripTab Title="Third">
        Third tab content.
    </TabStripTab>
</TelerikTabStrip>

Let me know if we can help with more information.

Regards,
Hristian Stefanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
TabStrip
Asked by
Ayush
Top achievements
Rank 1
Answers by
Hristian Stefanov
Telerik team
Share this question
or