CSS for an active tab
-
- Posts: 1
- Joined: Wed Mar 25, 2015
Hi,
I'm trying to setup some css text-color for when a tab is active.
I have figured out how to target the right css class to attach the hover-effect to for when you mouse over a tab, but I have trouble targeting the right css class for changing the text color for when a tab is active.
Hope someone can help.
Best regard
Thomas
I'm trying to setup some css text-color for when a tab is active.
I have figured out how to target the right css class to attach the hover-effect to for when you mouse over a tab, but I have trouble targeting the right css class for changing the text color for when a tab is active.
Hope someone can help.
Best regard
Thomas
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi Thomas,
Please, try the following CSS:
Please, try the following CSS:
Code: Select all
.ui-tabs-active > a {
color: red !important;
}
-
- Information
-
Who is online
Users browsing this forum: No registered users and 15 guests