Forums › Kleo Geolocation › Kleo Geolocation Search form customisation
- This topic has 6 replies, 2 voices, and was last updated 6 years, 4 months ago by
Eyal Fitoussi.
-
AuthorPosts
-
January 22, 2016 at 12:55 am #50226
Mark Richards
MemberHi,
Is it possible to customise the search fields of the Kleo Geolocation search form? For example, if I wanted to remove the “search members” field, but keep the location inputs? If so, is it also possible to add additional search input fields, such as profile search preferences?
The search form I’m referring to is shown in the screenshot
Attachments:
You must be logged in to view attached files.January 24, 2016 at 2:35 pm #50278Eyal Fitoussi
MemberHello Mark and thank you for the purchase.
if I wanted to remove the “search members” field, but keep the location inputs?
My advice, instead of removing the field which could cause conflicts, it is better to simply hide it using CSS display: none; Should be much easier and would not cause any conflicts.
is it also possible to add additional search input fields, such as profile search preferences?
That won’t be very simple and will require a good amount of coding.
There were few other users who asked about this feature. My advice was to contact the theme developers with such a feature request. Since Kleo geolocation add-on focuses on geolocation features, adding additional profile fields to the form is out of its scope.
Sorry I cannot help much regarding this feature but there is no “simple” solution for it.
February 2, 2016 at 12:57 pm #50480Eyal Fitoussi
MemberThis topic marked “Resolved” due to inactivity. If you wish to reply to this topic please change its status to “Not resolved” before replying.
February 11, 2016 at 9:17 pm #50658Mark Richards
MemberHello again,
I have attempted to hide the search field, the way you suggested.
I used the following css:
#members_search {
display: none;
}The attached image is the result. It only removed the placeholder text and has stuffed up the layout. Is there a way to remove the field completely, using css? The input ID #members_search, didn’t work. Any other ideas?
I’ve attached a screen of the HTML output, to show the ID tags etc.
Attachments:
You must be logged in to view attached files.February 14, 2016 at 9:33 pm #50675Eyal Fitoussi
MemberTry:
123label[for="members_search"] {display: none !important;}February 14, 2016 at 9:59 pm #50677Mark Richards
MemberYou’re a legend! Thank you very much, Eyal Shimon Fitoussi. That worked perfectly. I’ll mark this topic resolved.
February 14, 2016 at 10:19 pm #50680Eyal Fitoussi
MemberYou are welcome Mark. I am glad I could help.
-
AuthorPosts
You must be logged in to reply to this topic.