AnonymousInactive
Is there a way to get the fields to be side by side instead of stacked ?
Hi Luca
In order to style your search form you must have some basic CSS knowledge.
Please see here the notes on how to customise:
http://www.designsandcode.com/documentation/search-filter-pro/getting-started/display-search-form/#Styling_Your_Search_Form
What you are asking for is something very specific to your site, and would require some custom coding.
I’ll give you a pointer though however, depending on your theme this may still not work – if you look at hte code you will notice the search field list item has a class for easy styling,
So the following CSS should convert S&F to a horizontal layout (depending on your theme) but then sets the search field to display block ,which means it will be on its own line.
.searchandfilter > ul > li
{
display:inline-block;
}
.searchandfilter > ul > li.sf-field-search
{
display:block;
}
Like I mentioned, this may not work in your setup – but its a good starting point.
Thanks
PS, please also ensure you are using S&F 2.0.2 (released 2 days ago).
AnonymousInactive
Hello everyone,
i bought this wonderful plugin but i’m having trouble to build what i need. I need to create a page with in the middle a long search bar and under it 3-4 comboboxes to filter the results. It’s like the Google search, only the bar in the middle of the page, the Search button in front of it and under the bar the comboboxes, here a simple scheme:
_______________________________
|SEARCH|…………………..| <—- search bar
_______________________________
_____________..____________..__________________
|Regions.|V|..|Stars..|V|..|Type of room..|V| <– comboboxes to filter results
_____________..____________..__________________
Sorry about the ugly “draw”, had to use dots to make the spaces.
So, how can i do that, to get a Google-like page with some combobox in it?
Thanks in advance!
AnonymousInactive
Hello
This does not work with my theme. By putting the code in the CSS of my theme, I can not make it horizontal. I use the Corsa theme. Someone can help me ?
AnonymousInactive
oh yes of course… also still working on reformatting to horizontal if you can help with that too (let me know fi I should create a separate ticket)
http://dev.californiaseec.org/resource-portal-search/
http://dev.californiaseec.org/
Hey there
This depends on your theme really but there are some basic instructions to get you setup which involves adding some CSS to your theme:
https://support.searchandfilter.com/forums/topic/horizontal-layout/#post-6143
Thanks
AnonymousInactive
Hi Ross,
I just bought your wonderful plugins, but i couldn’t set the search box and submit button in horizontal ( i read the documentation but couldn’t figure it out ) could you please help me with an explanation that newbie like me could understand it ? thank you
Hi Mukhtar
To answer your questions:
1) Your first point regarding horizontal can be done with CSS – but what you want is a customisation beyond the scope of support here. It is possible to achieve what you want but you must have the js/html/css skills to implement specifically what you want.
Info to simply to make it horizontal can be found here: https://support.searchandfilter.com/forums/topic/horizontal-layout/#post-6143
2) You can’t do the exact same thing, but you could use a date range (post meta field) to achieve something similar – as long as you store the listing date as post meta.
3) I’ll look in to this, are listings a custom post type?
Thanks
AnonymousInactive
Hi Ross,
Sorry to disturb you again,
its urgent, plz reply as soon as possible.
I want to implement a search form on the page not side bar and want it to be horizontal like the following example: http://www.daltonsbusiness.com/buy/business-for-sale-listing
At the top of the results page you would see two search labels one “all sectors” and the other one “all countries” if you click on one of the sectors it shows you sub-sectors, click on sub-sectors it shows trades in each sub-sector. All countries works the same way.
Secondly, on the left, on the same page, there is a search option “Age of Listings” such as one week old, one month old and so on. Can we achieve these things with search and filter pro 2.0 using css or in any other way. I am using snf 2.0 version which you sent me last week.
Thirdly and lastly, snf 2.o does not search for new listings automatically, When I add new listings to the website i am working on.
Thank you