3 Replies Latest reply on Sep 26, 2011 9:01 AM by ilya_shaikovsky

    custom css class overridden by Rich SKIN

    wish79

      Good Day All,

      I have the following problem , I create custom css file for my project and i write a custom class "button-table-style" for a button in my screen ,my custom class should change the background for the button i add this class to my button :

       

      <h:commandButton   value="#{LABEL.UPDATE}" styleClass="button-table-style"/>

       

      I notice my button dose not take my custom class because the rich faces skin class override my custom css class , i think the logic custom class should be the last css class implemented to take the change but the real case is not that ,is it normal behavior for Richfaces skin or it is a bug ? and how can I implement my case . see the attached image

      http://mysite.com/image.gifhttp://mysite.cfdom/image.gif1.bmp