This content has been marked as final.
Show 4 replies
-
1. Re: rich:panelMenuItem how to set selected style or icon?
ilya_shaikovsky Jan 21, 2010 4:53 AM (in response to stockinstore)use rich-pmenu-selected-element
in order not to look into docs you could use FireBug for FireFox to check styles applied.
-
2. Re: rich:panelMenuItem how to set selected style or icon?
stockinstore Jan 26, 2010 4:43 AM (in response to ilya_shaikovsky)thank you for your reply.
But I don't know how to use the .rich-pmenu-selected-element.
I try add .rich-pmenu-selected-element{
color:red;
font-weight:bold;
}to theme.css,but not work.
-
3. Re: rich:panelMenuItem how to set selected style or icon?
ilya_shaikovsky Jan 26, 2010 6:32 AM (in response to stockinstore)sorry please try to use important mark
.rich-pmenu-selected-element{ color:red !important; font-weight:bold; }
seems jsut standard skinning on input overrides your class.
-
4. Re: rich:panelMenuItem how to set selected style or icon?
stockinstore Jan 26, 2010 8:00 PM (in response to ilya_shaikovsky)Thanks!
I add use important mark,but not work too.