Forums › Forums › Search & Filter Pro › ACF custom field, field search bar
- This topic has 13 replies, 2 voices, and was last updated 8 years, 3 months ago by Anonymous.
-
Anonymous(Private) August 4, 2016 at 11:01 am #53390
Hello,
I work with the ACF plugins for custom fields
When I customize my search engine I add a field “City”
and my custom fields called “map_adresse”
when I chose map_adresse in post meta
I can not see the city that I want
For example I have an article with custom fields “map_adresse” -> London
when I select my chosen London, he opened not my article with map_adresse -> london
I do not understand …
can you tell me if I made the adjustments?
Thank youTrevor(Private) August 5, 2016 at 9:30 am #53533OK, So I looked. The problem was that you switched off the plugin css and js files and switched on lazyload. I know that the form now looks wrong, but this can be fixed with custom css. However, this messes up the css, so I have fixed that for you. In your Custom CSS, this is the revised S&F section:
.searchandfilter > ul { margin: 0 !important; padding: 0 !important; } .searchandfilter > ul > li { display: inline !important; list-style: none; padding: 0px !important; } .searchandfilter { width:100%; padding:20px; padding-top:50px; } .searchandfilter label { margin-right:16.5px !important; display:inline !important; } .searchandfilter input, select { border-radius:4px; border:0px; height:40px; border-radius: 4px !important; width:23.6% !important; box-sizing: border-box !important; padding: 6px 10px; color: #404040; font: 13px/20px "Open Sans",Helvetica,Arial,sans-serif !important; } .searchandfilter select { background: url(https://onlimaps.be/wp-content/themes/OnliMaps/assets/img/new_arrow.jpg) no-repeat right #fff; -webkit-appearance: none; -moz-appearance: none !important; color: #404040; } form.searchandfilter .sf-field-submit input { color: #fff; background-color: #2479ab; border: 0; padding: 0; } form.searchandfilter .sf-field-submit input:hover { background-color: #105278; transition-duration: 1.1s; }
I have added one line, and added !important to that line and two others.
-
AuthorPosts