-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I am using ZK 7.03EE (soon 7.06EE) and want to start using Font Awesome. My first issue is without including the link in the zul :
<h:link href="//netdna.bootstrapcdn.com/font-awesome/4.0.1/css/font-awesome.css" rel="stylesheet"/>
I can't change the icon size using the fa-2x, fa-3x, fa-4x, fa-5x tags. No matter what I put in for the sizing component has no effect, it's always fa-2x. Adding the link makes the sizing work properly. I cannot use the link since I can't always count on having an internet connection at the customer site.
<button iconSclass="z-icon-power-off fa-5x"/>
Also, I see that this is only available for LabelImageElement types, is there anyway it can be used with an Image?
Asked: 2015-10-14 19:55:21 +0800
Seen: 37 times
Last updated: Oct 14 '15
duplicate of : http://forum.zkoss.org/question/99078/zk-7x-cant-change-font-awesome-icon-size-without-bootstrap-link/
chillworld ( 2015-10-15 13:25:39 +0800 )edit