0

button in button

asked 2016-08-29 11:36:11 +0800

guleri gravatar image guleri
75 2

Hi I'm running ZK 8 with bootstrap 3. If i add icon css class it shows ok, but I had to make an image icon to a button. Then the icon-image also get an extra button around it. I see from the generated html the image icon get's added with the bootstrap button css classes.

Any idea?

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-08-29 12:36:54 +0800

Darksu gravatar image Darksu
1991 1 4

Hello guleri,

Probably you should use zclass in order to override the css.

https://www.zkoss.org/wiki/ZKStyleCustomizationGuide/ZKCSSClassDesign/Zclass

Best Regards,

Darksu

link publish delete flag offensive edit
0

answered 2016-08-29 13:31:59 +0800

guleri gravatar image guleri
75 2

Thank you, that did almost do the trick.. I did actually have Zclass and changed it to Sclass and it looked better :)

Now it only adds "btn-image" to the image tag.

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: 2016-08-29 11:36:11 +0800

Seen: 21 times

Last updated: Aug 29 '16

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