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 'searchandfilter data-sf-form-id'

Viewing 10 results - 81 through 90 (of 178 total)
  • Author
    Search Results
  • #249905

    In reply to: Styling form


    Trevor
    Moderator

    I think this would do that for you:

    .searchandfilter[data-sf-form-id="971"] > ul > li.sf-field-submit,
    .searchandfilter[data-sf-form-id="971"] > ul > li.sf-field-reset {
      min-width: auto;
    }
    #249779

    Trevor
    Moderator

    You will need to use custom CSS, such as:

    .searchandfilter[data-sf-form-id="8759"] ul {
      padding: 0;
    }
    .searchandfilter[data-sf-form-id="8759"] > ul {
      padding: 20px;
    }
    .searchandfilter[data-sf-form-id="8759"] .sf-date-prefix {
      min-width: 45px;
    }
    .searchandfilter[data-sf-form-id="8759"] h4 {
      color: green;
      /* font-size: 24px; */
      /* font-weight: 700; */
    }

    I have commented out two lines, to show how to change font size and weight. You could also change font here. This will give you some ideas I think, but if you need more help, can you tell me what specifically needs to change and to what?

    The fonts are all inherited from your theme.

    #249708

    Trevor
    Moderator

    Remove this custom CSS you already used:

    .searchandfilter > ul > li {
        display: inline-block;
        vertical-align: top;
        padding: 0 20px;
    }

    Replace that with this custom CSS:

    @media (min-width: 768px) {
      .searchandfilter[data-sf-form-id="36"] .sf-field-reset:before {
        content: "";
        display: block;
        height: 12px;
      }
      .searchandfilter[data-sf-form-id="36"] > ul > li {
        display: inline-block;
        vertical-align: top;
        padding: 0 20px 0 0;
      }
      .searchandfilter[data-sf-form-id="36"] > ul > li:last-child {
        padding: 0;
      }
    }
    @media (max-width: 768px) {
      .searchandfilter[data-sf-form-id="36"] li {
        text-align: center;
      }
      .searchandfilter[data-sf-form-id="36"] > ul > li {
        padding: 0;
      }
      .searchandfilter[data-sf-form-id="36"] .sf-field-reset {
        padding-top: 11px;
      }
    }

    You may need to adjust the numbers slightly to meet your needs.

    #249415

    In reply to: Adjust Mobile Styling


    Trevor
    Moderator

    This should start you off:

    .entry-content .searchandfilter[data-sf-form-id="51428"] ul {
      padding: 0;
    }
    @media (max-width: 980px) {
      .searchandfilter[data-sf-form-id="51428"] li.sf-field-search,
      .searchandfilter[data-sf-form-id="51428"] li[data-sf-field-input-type="select"],
      .searchandfilter[data-sf-form-id="51428"] li > label,
      .searchandfilter[data-sf-form-id="51428"] li > label > select,
      .searchandfilter[data-sf-form-id="51428"] li.sf-field-search label input {
          width: 100%;
      }
      .searchandfilter[data-sf-form-id="51428"] li {
          margin-bottom: 20px;
      }
    }
    #249346

    In reply to: Styling dropdown menu


    Trevor
    Moderator

    Try adding this to the customizer Addtional CSS (Appearance -> Customize):

    .searchandfilter[data-sf-form-id="7246"] > ul > li > label > select {
      visibility: hidden;
    }
    #248900

    In reply to: Alphabetical Filters


    Trevor
    Moderator

    This CSS should get you started:

    .searchandfilter[data-sf-form-id="1052"] .sf-field-taxonomy-alphabetical input {
      display: none;
    }
    .searchandfilter[data-sf-form-id="1052"] .sf-field-taxonomy-alphabetical label {
      text-align: center;
      width: 2.2em;
      line-height: 1.4em;
      border: 2px solid #666;
      padding: 3px;
      text-indent: 0;
      border-radius: 5px;
    }
    .searchandfilter[data-sf-form-id="1052"] ul {
      padding-left: 0;
    }
    .searchandfilter[data-sf-form-id="1052"] .sf-field-taxonomy-alphabetical > ul > li {
      display: inline-block;
      margin-right: 10px;
    }
    .searchandfilter[data-sf-form-id="1052"] .sf-field-taxonomy-alphabetical {
      display: block;
    }
    .searchandfilter[data-sf-form-id="1052"] .sf-field-taxonomy-alphabetical label:hover {
      cursor: pointer;
    }
    .searchandfilter[data-sf-form-id="1052"] .sf-input-checkbox:checked + .sf-label-checkbox {
      color: #fff;
      background: #666;
    }
    #248474

    Trevor
    Moderator

    I can see that something is applying ‘Nice Select’ javascript to our select box (maybe your theme), which is hiding our field and showing a different field, but it is not copying across the terms. That you would need to talk with the theme author about (probably best to stop it from doing that). Some custom CSS could hide the nice select version of the field and reveal our field. For example:

    .searchandfilter[data-sf-form-id="5562"] .sf-input-select:not(.nice-select) {
        display: inline-block !important;
    }
    .searchandfilter[data-sf-form-id="5562"] .sf-input-select.nice-select {
        display: none;
    }
    #247860

    In reply to: plugin visualization


    Trevor
    Moderator

    There are many snippets in the forum. See this search:

    https://support.searchandfilter.com/forums/search/searchandfilter+data+sf+form+id+%7B+%7D/

    Use ones that generally look like this (your ID number instead of 1234):

    .searchandfilter[data-sf-form-id="1234"] {


    Trevor
    Moderator

    There isn’t a guide as such, but there are many snippets in the forum. See this search:

    https://support.searchandfilter.com/forums/search/searchandfilter+data+sf+form+id+%7B+%7D/

    Use ones that generally look like this (your ID number instead of 1234):

    .searchandfilter[data-sf-form-id="1234"] {

    #246680

    willski
    Participant

    I know this question has been asked many times before. I’ve tried to implement the solutions I’ve found and have been unable to get it to work. I’m using a child theme of Astra with WP Bakery. Everything is at the latest version.

    On NovaScotiaFood.com I have a search form here. I want it to be horizontal.

    I can get it to work in Inspector simply by going to the first li element and changing display to inline-block. But it doesn’t work when I input the CSS via Customizer. I have also tried adding it to my stylesheet via FTP. I am using Siteground Optimizer caching and Cloudflare. The SG cache has been cleared repeatedly and Cloudflare has been put in development mode. I have tried a hard refresh of the browser numerous times too (I’m in Chrome).

    I’ve tried the following bits of CSS:

    #search-filter-form-2018 > ul > li {
    	list-style: none!important;
    	display: inline-block!important;
    	padding: 0 20px;
    }
    .searchandfilter[data-sf-form-id="2018"] {
    	list-style: none!important;
    	display: inline-block!important;
    	padding: 0 20px;
    }
    .searchfilter ul li	{
    	list-style: none!important;
    	display: inline-block!important;
    	padding: 0 20px;
    }

    None of these are working. Can you please help?

Viewing 10 results - 81 through 90 (of 178 total)