Hi,
i ve got a tabbar with 8 tabs and i want to have 4 of them in a different color.
Can anyone show me an example how to implement this?
Hi,
i ve got a tabbar with 8 tabs and i want to have 4 of them in a different color.
Can anyone show me an example how to implement this?
There is no way to attach a css class for the tab, but you can style them inderectly, based on their order
<style>
.dhxtabbar_tab:nth-child(2) .dhxtabbar_tab_text{
background-color:red !important;
color:white !important;
}
</style>
thanks, this works.
But it works also for the sub_tabbars. How can i have ths css for only the upper level?
One more style can resolve this issue
.dhx_cell_tabbar .dhxtabbar_tab .dhxtabbar_tab_text{
background-color:white !important;
color:#444 !important;
}
thanks
is this also possible for a special type of element (i.e. defined by it’s tabbar-name and tab-id)?
more better would be to change color of a tab by its visible text
There is no way to attach a css class for the tab, but you can style them inderectly, based on their order
<style>
.dhxtabbar_tab:nth-child(2) .dhxtabbar_tab_text{
background-color:red !important;
color:white !important;
}
</style>