Doubt menu of Primefaces

Asked

Viewed 85 times

1

I changed the color (Hover) when I move the mouse over the menubar item, but the icons are also disappearing, when I move the mouse over the image. How do I make icon not disappear?

inserir a descrição da imagem aqui

 /* Cor menu */
.ui-menubar,.ui-menu-child,.ui-menu {
    background: #F0F2F4 !important;
}

     <p:menuitem value="Relatórios" icon="ui-icon-calculator"

     <p:menuitem value="Segurança" icon="ui-icon-key"

     <p:menuitem value="Sair" icon="ui-icon-close"

  • Have you tried applying directly to :Hover ?? @robsonp

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.