2 Replies Latest reply on Jun 25, 2009 8:16 AM by Ilya Shaikovsky

    rich-pmenu-item-selected class in Menu Panel is not Apllied

    ramy Hassan Novice

      Hello ,

      i need to change the color of selected item in Menu panel and i create CSS class in my jsp named "rich-pmenu-item-selected" as mentioned in Developer guide but nothing Happened
      however i used " rich-pmenu-hovered-element " and it works Well so what's the difference and where is the problem

      this sample of my code :

      <style type="text/css">
       .rich-pmenu-hovered-element {
       background-color: #f46619;
      }
      
       </style>
       </head>
       <body>
       <f:view>
       <a4j:form>
       <rich:panelMenu style="width: 180px" mode="ajax"
       iconExpandedGroup="disc" iconCollapsedGroup="disc"
       iconExpandedTopGroup="chevronUp"
       iconCollapsedTopGroup="chevronDown" expandSingle="true">
      
       <rich:panelMenuGroup label="Service">
      
       <rich:panelMenuItem id="accountInformation" >
       <h:outputLink style="text-decoration: none;"
       target="detailsPanelFrame" value="AccountInformation.faces">
       <h:outputText value="Account Information" />
       </h:outputLink>
       </rich:panelMenuItem>
      
       </rich:panelMenuGroup>
      
      
       </rich:panelMenu>
       </a4j:form>
       </f:view>
       </body>


      Thanks,