Forums › Forums › Search & Filter Pro › No results, no message appears
Tagged: No results
- This topic has 19 replies, 2 voices, and was last updated 7 years, 5 months ago by Trevor.
-
Anonymous(Private) May 26, 2017 at 4:21 pm #111483
Hi,
I’m developing a page by filtering a search with 3 dropdowns and a submit button and apparently it’s working correctly, but when there are no results to show, nothing appears. It’s normal? Is it possible to display a message like “there are no results for this search”?Trevor(Private) May 30, 2017 at 8:59 am #111891Apologies for the delay in responding. Your last reply arrived after we closed our support for the weekend (our normal support hours are Monday – Friday 10am – 5pm GMT) and Monday was a national holiday in the UK.
You appear to have 3 different forms on the page. ID numbers 1901, 1904, 1905 and 1906.
Why do you not have these all in one form? As it is, in separate forms, it will not work.
Is it because you want the fields horizontal? In which case Custom CSS like this would perhaps start to make this for you:
.searchandfilter > ul > li { display: inline-block; margin-right: 20px; float: left; } .searchandfilter > ul > li:last-child { margin-right: 0; } .search-filter-results {clear: both;}
Also, I see that you are using Visual Composer. We have a beta addon for Visual Composer. You can download and install this free addon plugin:
https://www.dropbox.com/s/t4gnvhr8mj7e52d/search-filter-pro-vc-beta-2.zip?dl=0
Then, in the Search & Filter form settings, for Display Results method, select Visual Composer Grid.
In the page, use Visual Composer to design the page. You will find a new element for our Search Form (it has a blue icon).
For the results, select one of the Visual Composer grids, such as the (orange icon) Post Grid.
In the settings for that, as the Data Source select
Search & Filter
Then select the form in the next option box. Then select grid type (posts per row) and Pagination.
In the design part, either select a pre-defined grid, or design/build one of your own with the grid builder.
Anonymous(Private) May 31, 2017 at 11:27 am #112242No problem, Trevor. I already noticed the error. I did so to be able to fit each field in the grid of the visual composer, but I already inserted the CSS that you sent with some adjustments. Can you see the behavior of the search now? When there are no results, the search should return a message stating that it did not find any results. Can you help?
Thank you very much
-
AuthorPosts