Use the other icons for buttons?

Locked
vished
Posts: 446
Joined: 02 Feb 2014, 17:38

12 Dec 2015, 22:51

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" />
PF 8.0

mert.sincan
Posts: 4323
Joined: 29 Jun 2013, 12:38

14 Dec 2015, 10:30

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

Locked

Return to “Rio”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest