Search Results for 'filter style'

Forums › Forums › Search › Search Results for 'filter style'

Viewing 10 results – 21 through 30 (of 588 total)
  • Author
    Search Results
  • #272672

    In reply to: Mobile Results


    Anonymous
    Inactive

    There is no lazy loading, but I found the issue. For whatever reason the filtered results columns are losing styles, the columns are not resizing to 100% for mobile so there is not enough room to display the content with the padding. Not sure if this is my theme or the plugin, but I’m using WP Bakery Default Post Grid with 3 columns. I can fix this using css. Thanks!

    #272506

    Trevor
    Participant

    In my example, the Category filter? If the form is set correctly, our cache will populate that list from the terms you have used in the posts.

    I would point out that there are a number of pre-made card layout styles (templates) for that grid, I just made a simple one for myself (the first one on this list):

    https://www.screencast.com/t/dcTqeyhm4

    #272388

    In reply to: I hope for help.


    Trevor
    Participant

    You would need to apply custom CSS to the form to suit your precise needs. There are many CSS snippets on our forum:

    https://support.searchandfilter.com/forums/search/data+form+sf+id+searchandfilter

    I do sometimes provide these, if I have the available time (but I am rather busy at the moment, sorry).

    For example, 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/

    Rounder corners are set with the CSS border-radius attribute.

    #271015

    Anonymous
    Inactive

    Hi The posts are displaying but no infinite scroll. Cannot see the loader either. Can you help?

    Here’s what I have done:

    1. Set settings as per https://searchandfilter.com/documentation/search-results/infinite-scroll/
    screenshot here: https://imgur.com/vloOCYk

    2. Added shortcode to page
    <?php echo do_shortcode('[searchandfilter id="2348" show="results"]'); ?>

    3. Created search-filter folder in theme, moved results-infinite-scroll.php to this folder and renamed results.php.

    Here is the code (theme/search-filter/results.php):

    <?php
    // If this file is called directly, abort.
    if ( ! defined( 'ABSPATH' ) ) {
    	exit;
    }
    
    if ( $query->have_posts() )
    {
    	?>
    	Found <?php echo $query->found_posts; ?> Results<br />
    	<div class='search-filter-results-list'>
    	<?php
    		while ($query->have_posts())
    		{
    			$query->the_post();
    			
    			?>
    			<div class='search-filter-result-item'>
    				
    			<div style="padding: 5rem; background-color: lightblue; margin-bottom: 1rem;"> 
    			<p><?php the_title(); ?></p>
    				</div>
    
    			</div>
    			
    			<?php
    		}
    	?>
    	</div>
    <?php
    }
    else
    {
    	?>
    	<div class='search-filter-results-list' data-search-filter-action='infinite-scroll-end'>
    		<span>End of Results</span>
    	</div>
    	<?php
    }
    ?>

    Thanks for your help!

    #270488

    Trevor
    Participant

    CSS style from WPBakery is causing this, so this CSS will help:

    /* gap between field and next title */
    .wpb_text_column .searchandfilter[data-sf-form-id="8463"] > ul > li {
        margin-bottom: 20px
    }
    /* gap between items in a field */
    .wpb_text_column .searchandfilter[data-sf-form-id="8463"] > ul > li > ul > li {
        margin-bottom: 0px;
    }
    #270353

    Anonymous
    Inactive

    Hi!

    I have instaled Elementor extension on my site. It works fine, but When I load the page the Combobox selector I use to filter taxonomies do not match the theme style of other selectors in other forms.

    It loads correctly bur after a few fractions of a second it changes the appearance. I think the Combobox script (selector2) is the last to be loaded.

    Is it possible to use the theme style for combo box selectors?

    Thank you for any help.

    #269850

    Anonymous
    Inactive

    Hi, i would like to create a filter menu like the one seen on https://www.wonderlandmodels.com/models/

    My shop page is https://legendary-models.com/shop/, and i would like to use white background with black text and borders.

    In addition, the search and filter pro form is appearing during checkout process and in the cart, effectively its appearing in all WooCommerce pages, however i would like to display it on product catalog pages only.

    Look forward to reply


    Anonymous
    Inactive

    Hi, I’m trying to filter tire types (products in Woocommerce) from Advanced Custom Fields Pro using Search and Filter Pro – The fields are brand_item, tyre_build, sidewall_style, and tire_rim_diameter. I have read the notes for searching Advanced Custom Fields in Woocommerce, and some searches are working well others are not?

    I have not used Search and Filter Pro before, are there any setup examples that would help me?
    Do I need a separate search form for each group of fields?
    Under Settings and Defaults, how do I set the Post Meta conditions?

    #268882

    Anonymous
    Inactive

    Hi Ross,

    Thanks for the assistance. Very annoying that Flatsome have all those “!important” rules in their default css stylesheet! The css code you provided wasn’t correctly overriding the main theme’s css, so I had to override the file in the child theme and change the value there. Seems to have fixed the massive loader icon and all is working perfectly now!

    On another note… did you recently fix an issue with the dropdown category counts not updating on ajax filtering? I seem to remember before the counts weren’t updating on filter which is why I was using a wider css selector for the ajax container but they seem to be okay now.

    Many thanks,

    #268301

    Anonymous
    Inactive

    Thanks for your detailed answer. That’s motivating.

    Q2 Make a dropdown multi-select of ‘Eten & drinken‘ and ‘Faciliteiten‘
    A2 You want this to be a dropdown with checkboxes? I think that this too will come in V3

    Yes, that would be exactly what I want, just this example.

    Q3 Use stars in stead of the range-bar, because it’s about review-score. The stars should be colored when you pick them.
    A3 I can only think this would require some custom JavaScript to enable the click on the stars to change the slider (that could be hidden). But to add the stars themselves, again, V3 would make this a lot easier

    I want to filter by clicking the stars in the filter. I’m looking forward to V3 to make this happen.

    Q4 Some space between the dropdown with option ‘Relevantie‘ and ‘Filters wissen‘
    A4 Custom CSS would be needed:

    Works great, thanks!

    With V3, you will have more flexibility to style things using classes, but I am not sure how much control we can give you in the Elementor widget settings. But, something for us to consider.

    If this could be done in Elementor that would be great.
    But if it can be done on the WordPress dashboard that’s also helping.

    A5 You don’t mention the spacing you indicated in the screenshot, for ‘Eten & drinken‘ and ‘Faciliteiten‘, like this:

    
    .searchandfilter > ul > li[data-sf-field-input-type="checkbox"] > ul > li {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    5px is what it is currently set at, so increase those for more gap, decrease for less gap.

    Perfect, this work great by just changing the padding. Thanks!

    Good luck with the developent of V3.

Viewing 10 results – 21 through 30 (of 588 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.