Forums › Forums › Search & Filter Pro › Trouble using the plugin
- This topic has 11 replies, 3 voices, and was last updated 7 years ago by
Ross.
-
Trevor(Private) April 24, 2018 at 8:33 pm #174091
The display of results is typically handled by the theme (or page builder plugin) templates, unless you are using the shortcode method (which only displays the results singly per row).
To set the form fields horizontally, you need to use custom CSS, like this:
.searchandfilter > ul > li { display: inline-block; margin-right: 20px; float: left; } .searchandfilter > ul > li:last-child { margin-right: 0; } .search-filter-results {clear: both;}
Anonymous(Private) April 25, 2018 at 8:41 am #174198Thank you for the answer.
I tried your custom css but the render isn’t that good.
https://www.bonsbaisersdetaghazout.com/test/
And what template part is used by the display shortcode ?
I am using AnyWhere Elementor for my archives and the blocks design, is there a way to use them there?
Trevor(Private) April 25, 2018 at 12:13 pm #174232That might work with the plugin. We will come back to the display of the form afterwards.
Place our form on the page. Do you use a shortcode like this?
[searchandfilter id="2298"]
Instead use this:
[searchandfilter id="2298"] [searchandfilter id="2298" action="filter_next_query"]
Remove the results shortcode:
[searchandfilter id="2298" show="results"]
and replace that with your Elementor results grid.
In the form, change the form from Shortcode Display Results method to Custom method.
-
AuthorPosts