Page 1 of 1

Use the other icons for buttons?

Posted: 12 Dec 2015, 22:51
by vished
Dears,

how can I use the other icons? FontAwesome icons works fine for buttons but how can I use the other icons?

Works:
<p:button value="Teaser" outcome="/portal/galleryEdit"
ajax="false" icon="fa fa-arrow-circle-o-right"
styleClass="Fs15 White Wid100 RaisedButton" />

DonĀ“t work:
<p:button value="Teaser" outcome="/portal/galleryEdit"
ajax="false" icon="icon-power106"
styleClass="Fs15 White Wid100 RaisedButton" />

Re: Use the other icons for buttons?

Posted: 14 Dec 2015, 10:30
by mert.sincan
Components don't support Font Icons for now. But, you can try this css code;

Code: Select all

[class^="icon-"], [class*=" icon-"] {
    background-image: none !important;
    text-indent: 0px;
}
Screenshot;
Image