1

Cannot Change Listbox Header color & Background

asked 2014-04-29 02:44:31 +0800

kleponboy gravatar image kleponboy flag of Indonesia
54 5
http://stupidprogrammers....

updated 2014-04-29 05:25:26 +0800

sitansu gravatar image sitansu
2254 13
http://java91.blogspot.in...

Hi,

I am trying to override ZK7 Listbox CSS based on this guide :

http://books.zkoss.org/wiki/SmallTalks/2012/March/CustomizeLookandFeelofZKComponentsUsingCSS3-Part2

but the header section still like on default version, i dont know whether on zk7 have more configuration or not for styling the listbox, because i already done the same css on zk6 and it run pretty well.

please help

Regards,

Klepon

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-04-30 02:31:14 +0800

cor3000 gravatar image cor3000
4351 2 7
ZK Team

The referenced tutorial is based on ZK5, and does not apply to ZK7 anymore without changes. ZK7 uses a more simple DOM structure than ZK 5/6/6.5 some CSS-classes could be removed and the remaining ones have often been renamed (see here)

Here a small example on ZK fiddle changing the bg color for a listheader in zk7.

Regards,

Robert

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

Follow
1 follower

RSS

Stats

Asked: 2014-04-29 02:44:31 +0800

Seen: 27 times

Last updated: Apr 30 '14

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