Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Change button color on hover › Reply To: Change button color on hover
January 15, 2020 at 4:25 pm
#25297
Keymaster
Hi,
Thank you very much for your kind words!
Well, there is no option for that, but you might be able to replicate that via custom CSS, something like this:
.asp_m .promagnifier:hover * {
background-image: none !important;
background: black !important;
color: #ffca07 !important;
}
/* Yellow icon */
.asp_m .promagnifier:hover .innericon {
background-image: url("https://point-artisans-nantes.com/wp-content/uploads/2019/12/artisan-nantes-yellow.png") !important;
}
In the second CSS section, you can upload a yellow version of the icon to the media library, and replace the URL in the code to that yellow icon URL – and then the icon color will also change.