2 Replies Latest reply on Jul 5, 2011 12:31 PM by Swarnajith Fernando

    How to change background color of a <a4j:commandButton> or any component in richfaces4

    Swarnajith Fernando Newbie

      I want to know how to change the background-color of a richfaces4 <a4j:commandButton with CSS styles.

       

      I tried <a4j:commandButton style="background-color:red;" and it resulted in giving half of the button red and other half with default skin. I also added the StyleClass="" as well it does not work.

       

      I want to keep the default richfaces4 skin blueSky and only change this particular buttons background color only, How do I do that??????

       

      Please give me a solution quickly, Thanks for everyone who is willing to help...