-
AuthorSearch Results
-
February 9, 2021 at 5:23 pm #275590
In reply to: EDD Form not showing at all
TrevorParticipantYou will find some CSS to make the form horizontal here:
https://searchandfilter.com/documentation/getting-started/display-search-form/
There are also many CSS snippets for styling the form in the forum, see this forum search:
https://support.searchandfilter.com/forums/search/data+form+sf+id+searchandfilter
February 3, 2021 at 6:53 am #275179In reply to: Display on same page & custom search bar
TrevorParticipantIt might be possible using custom CSS, yes, but you might need to hire a coder to do that for you. There might be some snippets of CSS on our forum that you could use. To find snippets for the search field, which has the class name
sf-field-search
, this search should give you posts that style that field:https://support.searchandfilter.com/forums/search/data+form+sf+id+searchandfilter+sf-field-search/
I forgot to add that V3 should add more styling options.
February 2, 2021 at 5:20 pm #275110In reply to: Filter Problems
TrevorParticipantI think this custom CSS should sort out the display:
.qodef-page-content-holder .searchandfilter[data-sf-form-id="3372"] ul li::before { content: ""; padding-right: 0; } .qodef-page-content-holder .searchandfilter[data-sf-form-id="3372"] ul li { padding-left: 0; text-indent: 0; } .searchandfilter[data-sf-form-id="3372"] ul > li > ul { padding-left: 0; }
The image loading issue is because Lazyload images is ON in JetPack.
February 2, 2021 at 8:05 am #274919In reply to: Display search results in two columns
TrevorParticipantIs this custom CSS what you need?
.searchandfilter[data-sf-form-id="693"] .sf-field-tag > ul { columns: 2; }
February 2, 2021 at 7:07 am #274904In reply to: Horizontal Search Bar
TrevorParticipantYou will find some CSS to make the form horizontal here:
https://searchandfilter.com/documentation/getting-started/display-search-form/
There are also many CSS snippets for styling the form in the forum, see this forum search:
https://support.searchandfilter.com/forums/search/data+form+sf+id+searchandfilter
January 31, 2021 at 12:28 pm #274660
TrevorParticipantEvery user’s form styling needs vary so much. However, there are many snippets of such CSS in forum posts, and this search should give you some ideas:
https://support.searchandfilter.com/forums/search/data+form+sf+id+searchandfilter
The search filters set/chosen can be found, but it requires some detective work (specific to your form) and then some coding.
See this post:
https://support.searchandfilter.com/forums/topic/display-list-of-filters-currently-set/#post-264202
January 22, 2021 at 2:02 pm #273643In reply to: Range slider with only maximum value
TrevorParticipantThis custom CSS would hide the
-
separator, the To box, and the To handle of the slider:.searchandfilter[data-sf-form-id="3918"] .sf-field-post-meta-EI .sf-meta-range-slider .sf-range-values-seperator, .searchandfilter[data-sf-form-id="3918"] .sf-field-post-meta-EI .sf-meta-range-slider .sf-range-prefix:nth-child(4), .searchandfilter[data-sf-form-id="3918"] .sf-field-post-meta-EI .sf-meta-range-slider label:nth-child(5), .searchandfilter[data-sf-form-id="3918"] .sf-field-post-meta-EI .sf-meta-range-slider .meta-slider .noUi-base .noUi-origin:nth-child(3) { display: none; }
I think you might find it easier to use a new plugin we have for the layout and content of the posts. See this post:
https://support.searchandfilter.com/forums/topic/custom-layouts/
Especially as you want only the title.
As to updates, see this post:
https://support.searchandfilter.com/forums/topic/plug-in-update-in-wp-admin/#post-273233
January 21, 2021 at 7:49 pm #273554
AnonymousInactiveThank you!
This appears to be working for me! Hope this helps anyone else too!
$('.searchandfilter[data-sf-form-id="15"] ul select').change(function(){ $('.searchandfilter[data-sf-form-id="15"] ul select').not(this).prop('selectedIndex', 0); });
January 21, 2021 at 6:11 am #273441
TrevorParticipantSo, you want the results to reflect only choice made in the last used field?
The form would have to have Auto Submit OFF. It would then require some custom JavaScript to clear the other fields, and then submit the form. To trigger the submit, use JavaScript like (assuming the form has an ID of 1234) this:
$('.searchandfilter[data-sf-form-id="1234"]').submit();
January 21, 2021 at 5:51 am #273435In reply to: Submit AJAX Form Submission Programmatically
TrevorParticipantTo trigger the submit, use JavaScript like (assuming the form has an ID of 1234) this:
$('.searchandfilter[data-sf-form-id="1234"]').submit();
-
AuthorSearch Results