Different Styling for each

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)
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.