Forums Forums Search & Filter Pro Different Styling for each

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #12149

    Hi,

    Is it possible to apply different style classes to each search form?

    Thanks.

    Anonymous
    #12150

    To add to this, the styling does not apply when adding [data-sf-form-id=’12’] for example to the core css file for the plugin: search-filter.min.css.

    Thanks.

    Ross Moderator
    #12416

    Hi Ben

    You should be able to target the form like:

    .searchandfilter[data-sf-form-id='12']
    {
        /* rules */
    }

    You should add this to your themes CSS file, not into the CSS loaded by the plugin.

    If you don’t see changes, it may be that the plugin CSS is getting loaded after your theme CSS – in that case you could try adding !important to your css rules.

    Thanks

    Ross Moderator
    #12417

    PS – adding classes is coming in the next update.

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)