# how to increse the font size of a TAB label

18691 1 10 130

Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4752658

By: pooja1

Hi can anyone please help me with the issue of increasing the TAB label font size enlargement. i want to increase the font size and not the height and the width.
i have also used a class but ity's not picking from that class it's picking some other default class.

delete retag edit

## 4 Replies

18691 1 10 130

Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4752768

Hey,

for increasing just the tab label, you need to override the respective css, one for the tab, and other for the selected tab.
In your zul page which has the tab, put the following:

<style>
.tab, .tab a, a.tab
{
font-size: 20px;
}

.tabsel, .tabsel a, a.tabsel
{
font-size: 20px;
}
</style>

then define the font-size as your wanted size.

Emanuele
117 1

Hi to everyone!

How can I perform the same operation with ZK 3.5, where styles have been changed?

Thank you!

flyworld
155 3

<style>
.z-tab .z-tabbox-text {
font-size:15px;
}
.z-tab-seld .z-tabbox-text {
font-size:15px;
}
</style>

first is normal text, second is tab selected

Emanuele
117 1

very very useful! thanks!

[hide preview]