Change Tabbox - tab background color

asked 2013-10-08 12:13:35 +0800

Weasley gravatar image Weasley
11 2

updated 2013-10-09 03:42:41 +0800

cor3000 gravatar image cor3000
5069 2 7
ZK Team

I want to change the background colour of the tab

<tabbox mold="accordion">
    <tab style="background-color:red;">Label1</tab>
  <tabpanels>        ...


But it didn't worked :(. Please give me some hints :)

delete flag offensive retag edit


2 Answers

Sort by ยป oldest newest most voted

answered 2013-10-09 03:54:00 +0800

cor3000 gravatar image cor3000
5069 2 7
ZK Team

Your color works, but it gets overridden by a background image of a nested div.

To remove this background-image, and replace with a solid color you can use the sclass attribute to give the tab a specific class, and apply the style using normal css rules.

Please have a look at this example showing how this can be achieved.


link publish delete flag offensive edit

answered 2013-10-15 17:51:25 +0800

dadebat gravatar image dadebat

with css is better

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2013-10-08 12:13:35 +0800

Seen: 72 times

Last updated: Oct 15 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More