Using the Telerik skin throughout our site but using the Black skin for our Tabstrips. Have the requirement to change the color of non-selected tabs. Is it possible to still utilize the skin but change just this one element? In the image attached, need to lighten the background color of the "Dates" tab.
7 Answers, 1 is accepted
You can change the background-color of the tabs when RadTabStrip is in Classic render mode if you make a custom sprite for this control. Please check our documentation for more information on how to create custom skin using sprites:
It would be much easier if you switch your RadTabStrip to Lightweight render mode. Then you will need only CSS to change the styles.
If you decide to use Lightweight RadTabStrip and you need assistance to override the background-color of RadTabs, I will be glad to assist you further.
It looks like going with the RadTabStrip in Lightweight render mode would be the best option. I attempted to search from examples but your help would be appreciated.
To change the background-color of non-selected tabs when RadTabStrip is in Lightweight render mode, you need to add the following CSS to your page:
Please note that this style doesn't include hover state of the tabs.
Attached you may find a sample project. I also took a screen-shot showing how the RadTabStrip is displayed at my side.
Hope this will be helpful.
I set the control to lightweight mode and tried your CSS but the results were not as expected. Instead of coloring the tabs it just colored the background around the tabs. I've attached a screenshot that shows this.
Here's the code used for the tabstrip:
And the CSS used:
The layout of the radTabStrip on the image that you had provided is classic render mode layout. Please, make you sure that you are using the last version dll-s (at least 2015.2.623) and also that there is no other RadTabStrip control in the classic render mode.
Do not hesitate to contact us if you have other questions.