This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Is there a way to use search parameters as conditional values?

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Is there a way to use search parameters as conditional values? Reply To: Is there a way to use search parameters as conditional values?

#19397
Ernest MarcinkoErnest Marcinko
Keymaster

Hi,

Thank you, I am glad I was able to help you.

Well, there is a search button, that can be used as a filter, but that does not contain a magnifier icon. However, with some custom CSS + configuration, it might just be possible to change it to a magnifier.

This is what I was able to achieve: https://i.imgur.com/ifGeok2.png

And this is what I did:
1. I used this configuration for the search button: https://i.imgur.com/gwab9xx.png
2. + used this custom CSS to change the background to a magnifier & to hide the original magnifier:

[html]/* Changing the search button to a magnifier */
button.asp_search_btn.asp_s_btn {
background-image: url(‘https://upload.wikimedia.org/wikipedia/commons/thumb/a/a0/Antu_document-edit-verify.svg/512px-Antu_document-edit-verify.svg.png’) !important;
background-size: 20px !important;
background-position: center !important;
background-repeat: no-repeat !important;
}

/* To hide the original magnifier */
.promagnifier {
display: none !important;
}[/html]

This might be far from a final good solution, but definitely a good way to start 🙂

I hope this helps!