Forums › Forums › Search & Filter Pro › Custom search filter
Tagged: custom search
- This topic has 27 replies, 3 voices, and was last updated 8 years, 1 month ago by Trevor.
-
Trevor(Private) October 14, 2016 at 3:52 pm #64089
Bonjour François
You want the results in 3 columns?
Using the shortcode method you can modify the results.php template to your needs. You must first make a copy in your theme folder:
If you have an example from your theme of an archives page that looks the same?
Anonymous(Private) October 14, 2016 at 6:18 pm #64119Only in the search option,
I want the calendar (date post) in first column,
some post meta in second one
and the reset and submit button in the third one.Right now it all show in a same ul li…
Maybe can I built a custom form by only call each search fields separately?
Thanks
Trevor(Private) October 17, 2016 at 4:29 pm #64554Ah, now I see what you want. Not very easy. You have 8 controls of different heights. It is possible to make them go in 3 columns across the page, but it may not look so nice.
The first thing to fix is to have the radio buttons next to the labels of the event_options. This custom css should do that:
.sf-field-post-meta-event_options label {display: inline !important;}
Then make them all about the same width:
.searchandfilter > ul > li { width: 33% !important; padding-left: 10px; padding-right: 10px; float: left; } .sf-field-post-meta-event_options input {width: auto !important;} .searchandfilter ul {width: 100%;} .searchandfilter ul > li input, .searchandfilter ul > li select { width: 100%; } .searchandfilter .meta-slider {max-width: 100% !important;}
-
AuthorPosts