This content has been marked as final.
Show 4 replies
-
1. Re: headerBackgroundColor and button background
jonask Jun 8, 2011 9:02 AM (in response to lessonz)what class and attributes are you changing. do you change it via a custom css?
-
2. Re: headerBackgroundColor and button background
lessonz Jun 8, 2011 11:03 AM (in response to jonask)I've tried a4j:commandButton and h:commandButton. I do have a custom css. I've tried using classes and ids. I've tried setting background-color and background-image: none. All has been ineffective. When I set headerBackgroundColor in my custom RichFaces style, that the only way I can find to change the button's color.
-
3. Re: headerBackgroundColor and button background
snaker Jun 9, 2011 4:30 AM (in response to lessonz)in your css use this
input[type="button"].anExample{
background:none;
background-color:red;
}
and in h:commandButton or a4j:commandButton apply the class, styleClass="anExample"
so, all button with this class css will work
it must works fine, because i use this yesterday
-
4. Re: headerBackgroundColor and button background
unnijboss Jun 22, 2011 11:01 AM (in response to snaker)The input[type="button"] did the trick.