Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to change <p:autoComplete> items background color while hover?  RSS feed

 
chen young
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using primefaces <p:autoComplete> and I want to change the background color of the items while hover them.
In css it’s quite simple but I can’t find any “hover” attribute.

I would expect to have something like this:

.ui-autocomplete-item ul li:hover {
background: #E8749F;
}

Any ideas ?

Thanks

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!