Why does my selectOnMenu of primefaces get rendered differently?

0

Why are not my components equal to% primefaces rendered in full?

Normal component of primefaces:

Myrenderedcomponent:

Imageoftheproblem.Howtochangetheprimecss?

    
asked by anonymous 15.10.2015 / 01:55

1 answer

2

On your page where your select is:

 <style type="text/css">
     .ui-selectonemenu .ui-selectonemenu-trigger{
         width: 25px !important;
        /* coloque aqui as propriedades do css que deseja mudar com a tag !important */
     }
</style>

With this it will overwrite the primefaces css. Just use the same css classes as the primefaces and change which property you want.

    
15.10.2015 / 16:56