Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Forums Forums Search Search Results for 'data-sf-form-id'

Viewing 10 results - 71 through 80 (of 189 total)
  • Author
    Search Results
  • #253484

    In reply to: Style Codes


    Trevor
    Moderator

    Simple then:

    .searchandfilter[data-sf-form-id="16337"] h4 {
      font-size: 17px;
    }
    #253381

    In reply to: Style Codes


    Trevor
    Moderator

    Are you able to send me a live link/URL to your search page so I can take a look?

    Normally, something like this will center the form:

    .searchandfilter[data-sf-form-id="1428"] > ul {
      display: table;
      margin: 0 auto;
    }
    #253110

    In reply to: Formatting questions


    Trevor
    Moderator

    Something like this I think:

    .searchandfilter[data-sf-form-id="1133"] ul {
        padding-left: 0;
        display: table;
        margin: 0 auto;
    }
    .searchandfilter[data-sf-form-id="1133"] li {
        padding: 0;
        margin-right: 10px;
    }
    .searchandfilter[data-sf-form-id="1133"] li:last-child {
        margin-right: 0px;
    }
    .searchandfilter[data-sf-form-id="1133"] li.sf-field-taxonomy-length select.sf-input-select {
        min-width: 120px;
    }
    .searchandfilter[data-sf-form-id="1133"] li.sf-field-taxonomy-equipment select.sf-input-select {
        min-width: 150px;
    }
    .searchandfilter[data-sf-form-id="1133"] li.sf-field-taxonomy-focus select.sf-input-select {
        min-width: 155px;
    }
    .searchandfilter[data-sf-form-id="1133"] li.sf-field-taxonomy-level select.sf-input-select {
        min-width: 130px;
    }
    .searchandfilter[data-sf-form-id="1133"] li.sf-field-taxonomy-class_type select.sf-input-select {
        min-width: 150px;
    }

    I am hoping select2 will then copy the widths over.

    #253086

    In reply to: Formatting questions


    Trevor
    Moderator

    Hi, you also need to change the script to Select2. We will be moving to that as standard in our next major release, as Chosen is now abandoned. It is found here:

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

    Some CSS to start you off:

    .searchandfilter[data-sf-form-id="1133"] .sf-field-submit input {
        font-size: 14px;
        border-radius: 5px;
        padding: 3px 7px;
        border: 1px #a4a4a4 solid;
    }
    .searchandfilter[data-sf-form-id="1133"] .sf-field-submit:before {
        content: "";
        display: block;
        height: 32px;
        width: 25px;
    }
    #252266

    Trevor
    Moderator

    Maybe this:

    .searchandfilter[data-sf-form-id="22914"] > ul > li {
    	display: inline-block;
    	vertical-align: top;
    	padding-right: 20px;
    }
    .searchandfilter[data-sf-form-id="22914"] .sf-field-reset {
        display: block;
    }
    #252013

    In reply to: Search box width


    Trevor
    Moderator

    This custom CSS should do it:

    .searchandfilter[data-sf-form-id="8213"] .sf-field-search label {
      width: 100%;
      padding-right: 5px;
    }

    I had to add 5px right padding because you had added this CSS already:

    .searchandfilter ul li {
        background-color: #efefef;
        padding: 20px 15px 20px 20px;
    }

    Where the right padding was only 15px, whereas the left padding is 20px, so it looked odd otherwise.

    #250902

    Cristina Morbidoni
    Participant
    This reply has been marked as private.
    #250781

    Trevor
    Moderator

    Does this CSS work for you?

    .searchandfilter[data-sf-form-id="20636"] .sf-field-search input.sf-input-text[type="text"] {
      border-radius: 20px;
      border: 2px dotted #aaa;
    }
    .searchandfilter[data-sf-form-id="20636"] ul {
      padding-left: 0;
    }
    .searchandfilter[data-sf-form-id="20636"] ul {
      display: table;
      margin: 0 auto;
    }

    Onur Öneren
    Participant

    Hi,
    the serach&filter function is great while the styling of the filters lacks usability & valueable options!

    I have multiple filters horizontal filter set up (1) in one search form, acf group fields in place and no nested taxonomies (2) and try to place them via (3) and use the searchform via shortcode inside elemtor pro.

    Given I check “Hide empty items?” in searchfilter Admin settings, then in the front-end after each filter change all filters “jump” around (accordingly to the fact, that option are lower) => this makes them uncontrolable with regards to styling.
    => unhide empty items would fix the jumping but will be an ux mess (& not the intention)
    Question:
    – Is there a way to have the items “hide empty items” checked (not shown in the filter option) but also have the length of the filter field fixed?

    Feedback appreciated
    Thanks in advance
    Onur

    btw:
    Style of Combobox is nice – but as “date & price range&input fields” don’t have this option, their style won’t go together with the “combobox” – style of txonomy filters – is there a way to style the input fields accordingly?

    btw2:
    v3 will have fixes for some filter frontend styling lacks?

    ——-
    (1)
    .searchandfilter > ul > li {
    display: inline-block;
    vertical-align: top;
    padding: 0 20px;
    }
    ————
    (2) https://support.searchandfilter.com/forums/topic/multiple-categories-combination/#post-55166 – did all of that
    ————
    (3)
    .searchandfilter[data-sf-form-id=”1428″] .select2-container {
    margin: 5px;
    }
    from: https://support.searchandfilter.com/forums/search/filter+style/

    #250072

    Cecilia Arditto
    Participant
    This reply has been marked as private.
Viewing 10 results - 71 through 80 (of 189 total)