8 Replies Latest reply on Nov 26, 2007 5:25 AM by Matthias Hueller

    rich:panelMenuItem changing background color

    khanmurtuza Newbie

      I wanted to change the background color of selected menu item, but rich-pmenu-item-selected property was not working for me

      <style>
       .rich-pmenu-item-selected {
       background-color: rgb(255, 255, 255);
       }
      
      <rich:panelMenu mode="none" style="width:150px">
       <rich:panelMenuItem label="Item 1"/>
       <rich:panelMenuItem label="Item 2"/>
      </rich:panelMenu>
      </style>