ui-icon-triangle-1-s does not display

UI Components for JSF
Post Reply
filippodb
Posts: 10
Joined: 29 Mar 2019, 11:53

09 May 2019, 11:29

I am using selectOneMenu sample on PF7.0. Why does not dysplay ui-icon-triangle-1-s ?

Code: Select all

            <p:outputLabel for="onemenu" value="OneMenu"/>
            <p:selectOneMenu id="onemenu">
                <f:selectItem itemLabel="Select One" itemValue="" />
                <f:selectItem itemLabel="Xbox One" itemValue="Xbox One" />
                <f:selectItem itemLabel="PS4" itemValue="PS4" />
                <f:selectItem itemLabel="Wii U" itemValue="Wii U" />
            </p:selectOneMenu>
<span class="ui-icon ui-icon-triangle-1-s ui-c"></span>
This is span tag on debug...

My theme.css:

Code: Select all

 body .ui-button .ui-icon-triangle-1-s {
    background: none;
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-indent: 0px ;
    text-align: center; }
    body .ui-button .ui-icon-triangle-1-s:before {
      content: ""; }
Thank you...

kukeltje
Expert Member
Posts: 9393
Joined: 17 Jun 2010, 13:34
Location: Netherlands

09 May 2019, 12:24

Works for me in the showcase... so an error in your css... Not something PrimeFaces can help with...
Ronald van Kuijk
______________________________
PrimeFaces 6.1, PrimeFaces plus 0.0.2 | JbossWildfly 10.1| Mojarra 2.2.13
Fedora 61, Firefox 'most recent'
Read the forum posting rules
Beginners: https://jsf.zeef.com/bauke.scholtz

filippodb
Posts: 10
Joined: 29 Mar 2019, 11:53

09 May 2019, 13:53

I downloaded the base project from https://github.com/primefaces/primefaces-designer-trial....

From here I developed my web app..
The icon does not display...

Post Reply

Return to “PrimeFaces”

  • Information