-
AuthorSearch Results
-
November 27, 2019 at 4:22 pm #227821
In reply to: Customise the FORM
TrevorParticipantYou can use custom CSS to hide the radio button, and further custom CSS top show the term has been selected. Is that what you mean?
I would need to see the form to be able to give specifics (which you tell me I cannot), but this post shows some CSS I wrote for another user with a similar request:
November 14, 2019 at 6:54 pm #226780In reply to: Prohibition sign again in search and filter product
TrevorParticipantThe cursor is called the ‘not-allowed’ cursor and comes from this theme file:
https://www.ia-incosmetics.com/wp-content/themes/xstore/css/bootstrap.min.css?ver=1.0
This is the CSS:
input[type="radio"][disabled], input[type="checkbox"][disabled], input[type="radio"].disabled, input[type="checkbox"].disabled, fieldset[disabled] input[type="radio"], fieldset[disabled] input[type="checkbox"] { cursor: not-allowed; }
So, add this CSS to stop this I think, in our form:
.searchandfilter input[type="radio"][disabled], .searchandfilter input[type="checkbox"][disabled], .searchandfilter input[type="radio"].disabled, .searchandfilter input[type="checkbox"].disabled { cursor: default; }
You need to add this somewhere in custom css for your theme.
November 12, 2019 at 5:06 pm #226394In reply to: Numeric Pagination
TrevorParticipantAre you coding you own PHP template, or using our shortcode method?
For the demo, our developer, Ross, extended the Twenty Seventeen theme by making a child theme to help with the layout etc
We can share this with you:
https://drive.google.com/file/d/1GAJBInV2Mty8pHdNkj061SySPRHGEMEe/view?usp=sharing
Just to note, the templates (
archive-sfdc_movie.php
) are dependent on the post types that he used to create the demo (in this casesfdc_movie
) and the specific custom fields / taxonomies etc he created for this demo.Also, the results are displayed using
post type archive
display method.Take a look at the code in either that or the parent Twenty Seventeen theme files.
The stylesheet (in addition to that of our plugin and the theme) is in this file:
https://demo.searchandfilter.com/wp-content/themes/twentyseventeen-child/style.css
October 31, 2019 at 7:48 am #225215In reply to: Search Fields not responsive
TrevorParticipantCan you try this custom CSS:
.searchandfilter >ul > li[data-sf-field-input-type="select"] > label { max-width: 100%; }
Some further adjustment may be needed.
October 17, 2019 at 8:30 pm #224020In reply to: Result display same page
TrevorParticipantOn the appearance of the form, this custom CSS should override your theme:
.widget .textwidget .searchandfilter ul li { list-style: none; display: block; } .widget .textwidget .searchandfilter ul { margin: 0px; } .searchandfilter input.sf-input-checkbox[type="checkbox"] { vertical-align: top; margin-top: 4px; } .searchandfilter li[data-sf-field-input-type=checkbox] label { width: calc(100% - 32px); }
October 16, 2019 at 11:17 am #223765In reply to: Submit and Reset buttons are gray? No text?
TrevorParticipantTo answer the second question first, it is Elementor and Post Grid that handle the ‘No Results’ logic, and they cannot do that, sorry.
To the buttons. There is some CSS making the text color transparent, but I cannot see where it is coming from. You will need to add some custom CSS in the Theme Customizer, like this:
.searchandfilter input[type=submit] { color: #333; }
I think that the Ajax Container, currently set to
#main
is wrong.Are you trying to make an alphabet (a-z) selection? There are ways to make this so you have only the letter tiles.
October 16, 2019 at 9:44 am #223739
TrevorParticipantIf you use this additional custom CSS, does it look better:
.wpb_text_column .searchandfilter ul { padding-left: 0; margin-top: 0px; } .searchandfilter { padding: 20px 0px; } .searchandfilter .sf_date_field li:first-child { padding-top: 0px; } .searchandfilter .sf_date_field li:last-child { padding-bottom: 0px; } .searchandfilter .sf-field-submit:before { content: ""; display: block; height: 35px; } .searchandfilter > ul { display: table; } .wpb_text_column .searchandfilter > ul { margin-left: auto; margin-right: auto; }
September 26, 2019 at 3:30 pm #222018In reply to: filter blocks elementor's pop up
AnonymousInactiveI added this code to
appearance -> Custom CSS / JS
(function ( $ ) { "use strict"; // detects when the ajax request has finished and the content has been updated // re-init the layout scripts from Elementor $(document).on("sf:ajaxfinish", ".searchandfilter", function(){ elementorFrontend.init(); }); }(jQuery));
September 23, 2019 at 7:29 pm #221678In reply to: Filter Tags Design & Filter with ACF
TrevorParticipantYou want the choices formatted like this?
https://www.screencast.com/t/1bgCftYgMBw
It is possible with Custom CSS, yes. I can help you when you get that far.
Custom Fields are called ‘Post Meta’, so add one of these to the form, then, for the Meat Key name, make sure NOT to select the field name starting with an underscore
_
. Find the alternative without that. This advice applies ONLY to ACF custom fields.I also see you are using Elementor, so this post may be useful:
September 23, 2019 at 6:00 pm #221639In reply to: Drop-down menu not working in Safari
TrevorParticipantWhen I first visit the page I see this:
https://www.screencast.com/t/DPqCITjInx0P
(Wrong font sixes)
If I add this CSS:
.searchandfilter>ul>li span { font-size: 16px }
It looks OK now I think? Can you add that to your theme custom CSS?
Is it the text ‘Facilitation Tips’ that wrap that is the issue:
https://www.screencast.com/t/kehdaOjAP
If so, maybe this Custom CSS:
.searchandfilter .select2-results__option { white-space: nowrap; } .searchandfilter .select2-container { min-width: 170px; }
-
AuthorSearch Results