Search Results for 'filter style'

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

Viewing 10 results – 41 through 50 (of 588 total)
  • Author
    Search Results
  • #262840

    In reply to: Multiple filters


    Trevor
    Participant

    You can, of course, add filters to the search, as long as you have a different source of meta data (terms) for each of them. At the moment, you have only a custom taxonomy named categoriesignature.

    You add can custom fields (Post Meta) or other taxonomies.

    As to the sidebar question, that is dependent on your theme, or page builder, and this is not something that comes within the scope of our support.

    I can see that the form you have currently has some alignment issues with the radio buttons and checkboxes, which may require further custom CSS to align correctly.

    In the main, our form is relatively unstyled, leaving it to the user to add their own style using custom CSS in the theme custom CSS panel, or the WordPress Customizer (and there are other methods for importing CSS to a site).


    Trevor
    Participant

    I fixed that link. Can you check/confirm that you did follow the advice there?

    As to the bullet points. This theme CSS file:

    https://www.hifi-advice.com/blog/wp-content/themes/theblog/style.css

    On line 861 has this CSS, which is causing them:

    .body-content ul > li:before {
        content: "\f105";
        font-family: "FontAwesome";
        position: absolute;
        left: 0;
        top: 5px;
        line-height: 1;
    }

    Add this custom CSS to the theme customizer to fix this:

    .body-content .searchandfilter ul > li:before {
        content: none;
    }

    Once I have the answer to the first part of this reply, I need to see the content of the results.php file, IF you have modified it? If you did not modify it, do you have a Related Posts plugin installed (which one), as it may be automatically adding that content after the post excerpt?

    #262345

    Anonymous
    Inactive

    Hi,

    I’ve just installed the search & filter plugin for divi.

    I’ve added the form via the search and filter module. However it seems that I can’t style the submit button within Divi, am I missing something?

    #262288

    Anonymous
    Inactive

    I dont think all these are necessary but this is how I fixed it for now:

    function remove_sf_scripts() {
    	if (tribe_is_event() || tribe_is_event_category() || tribe_is_in_main_loop() || tribe_is_view() || 'tribe_events' == get_post_type() || is_singular( 'tribe_events' )) {
    		wp_deregister_script( 'search-filter-plugin-build' );
    		wp_deregister_script( 'search-filter-plugin-chosen' );
    		wp_deregister_script( 'jquery-ui-datepicker' );
    		wp_deregister_style( 'search-filter-plugin-styles' );
    	}
    }
    add_action('wp_enqueue_scripts', 'remove_sf_scripts', 100);
    #262163

    In reply to: Integrate


    Trevor
    Participant

    There is no way to add a scroll to a select field other than to have lots of entries (as our demo does). What you could do is to make it a combobox in the field settings. This would the apply the Select2 jQuery script to it, and style it much better.

    At the moment you are hiding if empty. But you want to show them, see here:

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

    Some custom CSS is needed for the date to be in 2 columns:

    .searchandfilter[data-sf-form-id="14110"] li.sf-field-post_date input {
        width: 100px;
        min-width: auto;
        display: inline-block;
    }
    .searchandfilter[data-sf-form-id="14110"] li.sf-field-post_date li {
        display: inline-block;
    }
    .searchandfilter[data-sf-form-id="14110"] li.sf-field-post_date li:first-child {
        margin-right: 20px;
    }
    #261805

    Anonymous
    Inactive

    I have many facets that I’ll have to style in boxes with scrollbars. The problem I’m having is to have the form in the top area of the search results and tags/categories pages. I still don’t grasp this (the pro plugin should have a few templates to build upon on).
    To make it easier, how can I have the page results of your example at https://demo.searchandfilter.com/movies/ but with the form at the top and the results in full-width bellow?
    If you can give me the actual php template I’ll really appreciate it.

    Thanks a lot for your kind assistance!

    #261794

    Anonymous
    Inactive

    Hi Trevor,

    I have tried to apply options from Select2 to the dropdown filter. For instance trying to disable the default search field. Not giving me any errors but neither is it removing the search input form.

    So, basically i want to be able to add additional options to the existing dropdown menu to customize the dropdown with the JS options which are available on the official site.

    After adding the latest version of Select2 JS and CSS to the functions.php by enqueue it will create a new dropdown and apply the options to it.

    This is not what i want. I want to to override and extend the options from the current dropdown.

    also tried to dequeue the default style but the CSS is not being removed. What is the correct code for it?

    Could you tell me how i can use the options from Select2?

    Thanks in advance.

    Kind regards,
    Nino

    #261775

    Trevor
    Participant

    If Select2 is correctly being applied to the select fields, can you inspect that to see what CSS IS being applied, and from where?

    My suspicion is that it may be our CSS file, which by default has the Select2 CSS for our plugin already included. You might need to dequeue our CSS file and make your own CSS file to load that excludes the Select2 (and Chosen I would suggest) classes.

    This thread discusses the dequeuing:

    https://support.searchandfilter.com/forums/topic/how-to-manually-add-styles-and-js/

    But you would have to enqueue our general JavaScript file as well.

    #261111

    Trevor
    Participant

    Yes, but it would require custom CSS, depending on what you need. If you are using select dropdown fields, I would suggest using comboboxes.

    You may need to make some changes.

    Go to wp-admin -> Search & Filter -> Settings -> Combobox Script

    Change this from Chosen to Select2 – we’re dropping support for Chosen in v3, because it has too many issues on mobile.

    Next, in the form field settings, select the combobox option for each.

    There is an alternate way of doing this, but this is the easiest. Now you can style the resulting select as it is not a select!

    You may you may need to hire a third party coder to help you. This search will give some code snippets to help that coder:

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

    #261043

    Trevor
    Participant

    To answer them in turn:

    #1 No
    #2 Both
    #3 Our plugin does not affect the style of the Divi Blog grid, so that should not be an issue.

    Note that, when using this integration method, it needs to be used on a real page in WordPress, not an archives page.

    I do not support the free version, but I would have guessed that it should be something like:

    [searchandfilter empty_search_url="http://mysite.com/blog/"]

    This option was added at v1.2.11, so I assume you have that or later installed?

Viewing 10 results – 41 through 50 (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.